Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#5883 closed enhancement (wontfix)


Reported by: jablko Owned by: john
Priority: minor Milestone: 1.4.1
Component: selector Version: 1.4
Keywords: Cc:
Blocked by: Blocking:


I wish jQuery supported a :heading selector, as an alias of the :header selector, since I think that (strictly speaking) <h1>, <h2>, etc. are "headings" not "headers"? http://www.w3.org/TR/html401/struct/global.html#h-7.5.5

Change History (4)

comment:1 Changed 13 years ago by snover

Resolution: wontfix
Status: newclosed

comment:2 Changed 13 years ago by anonymous

This would be a 3 line plugin if you wanted to support this for yourself. :)

comment:4 Changed 13 years ago by dmethvin

Although additions to the selector syntax are tempting, additions to the selector syntax will make the string invalid to querySelectorAll -- or in the worst case, *accepted* by querySelectorAll but interpreted incorrectly. The fallback is Sizzle's Javascript-based selector engine and potentially a performance hit.

Note: See TracTickets for help on using tickets.