Bug Tracker

Opened 7 years ago

Closed 6 years ago

#5766 closed enhancement (patchwelcome)


Reported by: medz Owned by: rwaldron
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 7 years ago.
jQuery classList

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by medz

jQuery classList

comment:6 Changed 6 years ago by rwaldron

  • Component changed from support to attributes
  • Milestone changed from 1.4 to 1.5
  • Priority changed from minor to low

comment:7 Changed 6 years ago by snover

  • Status changed from new to open
  • Version changed from 1.4a2 to 1.4.3

comment:8 Changed 6 years ago by rwaldron

  • Owner set to rwaldron
  • Status changed from open to assigned

comment:9 Changed 6 years ago by rwaldron

  • Blocking 4705 added

comment:10 Changed 6 years ago by paul.irish

  • Blocking 5087 added

comment:11 Changed 6 years ago by john

  • Milestone set to 1.next
  • Resolution set to patchwelcome
  • Status changed from assigned to 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.