Bug Tracker

Ticket #5766 (closed enhancement: patchwelcome)

Opened 5 years ago

Last modified 3 years ago

jQuery.support.classList

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

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

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

Change History

Changed 5 years ago by medz

jQuery classList

comment:6 Changed 4 years ago by rwaldron

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

comment:7 Changed 4 years ago by snover

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

comment:8 Changed 4 years ago by rwaldron

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

comment:9 Changed 4 years ago by rwaldron

  • Blocking 4705 added

comment:10 Changed 4 years ago by paul.irish

  • Blocking 5087 added

comment:11 Changed 3 years ago by john

  • Status changed from assigned to closed
  • Resolution set to patchwelcome
  • Milestone set to 1.next

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.