Bug Tracker

Opened 13 years ago

Closed 12 years ago

#5766 closed enhancement (patchwelcome)


Reported by: medz Owned by: Rick Waldron
Priority: low Milestone: 1.next
Component: attributes Version: 1.4.3
Keywords: classList addClass removeClass Cc:
Blocked by: Blocking: #4705, #5087


Hi, I've tested out the use of Element.classList support in jQuery, which will be available in FF 3.6. Is this usefull for jQuery? I have implemented it for addClass / removeClass and hasClass. Probably should implement it for toggleClass as well.

Read more here: https://developer.mozilla.org/en/DOM/element.classList

Attachments (1)

jquery.classList.js (2.9 KB) - added by medz 13 years ago.
jQuery classList

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by medz

Attachment: jquery.classList.js added

jQuery classList

comment:6 Changed 12 years ago by Rick Waldron

Component: supportattributes
Milestone: 1.41.5
Priority: minorlow

comment:7 Changed 12 years ago by snover

Status: newopen
Version: 1.4a21.4.3

comment:8 Changed 12 years ago by Rick Waldron

Owner: set to Rick Waldron
Status: openassigned

comment:9 Changed 12 years ago by Rick Waldron

Blocking: 4705 added

comment:10 Changed 12 years ago by paul.irish

Blocking: 5087 added

comment:11 Changed 12 years ago by john

Milestone: 1.next
Resolution: patchwelcome
Status: assignedclosed

classList appears to be too slow right no). If classList gets faster, or if a better patch is proposed, we'll happily land it (as it stands, there's no point in having a support test for something that we don't use in core).

Note: See TracTickets for help on using tickets.