Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#9103 closed bug (fixed)

.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 http://jsfiddle.net/4XmRM/

Change History (3)

comment:1 Changed 6 years ago by crescentfresh

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

comment:2 Changed 6 years ago by timmywil

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 6 years ago by timmywil

  • Component changed from unfiled to attributes
  • Milestone changed from 1.next to 1.6.1
  • Priority changed from undecided to blocker
Note: See TracTickets for help on using tickets.