Skip to main content

Bug Tracker

Side navigation

#9103 closed bug (fixed)

Opened May 04, 2011 06:19PM UTC

Closed May 04, 2011 07:54PM UTC

Last modified March 08, 2012 08:52PM UTC

.attr('foo', true) not setting related DOM property

Reported by: crescentfresh Owned by:
Priority: blocker Milestone: 1.6.1
Component: attributes Version: 1.6
Keywords: Cc:
Blocked by: Blocking:

(Note: this is the inverse of #9094)

In light of the 1.6 reversions to .attr() to match pre-1.6 behavior wrt boolean properties, .attr('foo', true) is broken. See

Attachments (0)
Change History (3)

Changed May 04, 2011 06:22PM UTC by crescentfresh comment:1

I'm sorry, report should read "In light of the 1.6.1 reversions..."

Changed May 04, 2011 07:54PM UTC by timmywil comment:2

resolution: → fixed
status: newclosed

Set the property corresponding to a boolean attribute when setting to true. Fixes #9103.

  • Once boolean properties had been modified natively, setting the attribute no longer set the current value

Changeset: 5195335cf4df62c06488807ae857f64c2d549253

Changed May 09, 2011 07:01PM UTC by timmywil comment:3

component: unfiledattributes
milestone: 1.next1.6.1
priority: undecidedblocker