Opened 12 years ago
Closed 12 years ago
#9624 closed bug (fixed)
class value passed to value functions in class methods when no class is present switched from empty string to undefined
Reported by: | timmywil | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | attributes | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This was changed in 1.6 with the attr rewrite.
Compare to prior versions of jQuery: http://jsfiddle.net/timmywil/KHnDu/
When no class is present, empty string should be passed to value functions. This wasn't caught in the tests in 1.6 because it was just comparing what was returned by attr with what was returned by attr.
Change History (1)
comment:1 Changed 12 years ago by
Component: | unfiled → attributes |
---|---|
Priority: | undecided → low |
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed: 96501d38a935187461d45c40f17f8327b2e7cd91