Opened 12 years ago
Closed 11 years ago
#5766 closed enhancement (patchwelcome)
jQuery.support.classList
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 |
Description
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)
Change History (7)
Changed 12 years ago by
Attachment: | jquery.classList.js added |
---|
comment:6 Changed 12 years ago by
Component: | support → attributes |
---|---|
Milestone: | 1.4 → 1.5 |
Priority: | minor → low |
comment:7 Changed 12 years ago by
Status: | new → open |
---|---|
Version: | 1.4a2 → 1.4.3 |
comment:8 Changed 12 years ago by
Owner: | set to Rick Waldron |
---|---|
Status: | open → assigned |
comment:9 Changed 11 years ago by
Blocking: | 4705 added |
---|
comment:10 Changed 11 years ago by
Blocking: | 5087 added |
---|
comment:11 Changed 11 years ago by
Milestone: | → 1.next |
---|---|
Resolution: | → patchwelcome |
Status: | assigned → closed |
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.
jQuery classList