Skip to main content

Bug Tracker

Side navigation

#9624 closed bug (fixed)

Opened June 20, 2011 01:30PM UTC

Closed June 20, 2011 01:31PM UTC

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.

Attachments (0)
Change History (1)

Changed June 20, 2011 01:31PM UTC by timmywil comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → fixed
status: newclosed