Bug Tracker

Opened 6 years ago

Closed 5 years ago

#5766 closed enhancement (patchwelcome)

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:
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

Change History (6)

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 5 years ago by rwaldron

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

comment:9 Changed 5 years ago by rwaldron

  • Blocking 4705 added

comment:10 Changed 5 years ago by paul.irish

  • Blocking 5087 added

comment:11 Changed 5 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.