#5883 closed enhancement (wontfix)
:heading
Reported by: | jablko | Owned by: | john |
---|---|---|---|
Priority: | minor | Milestone: | 1.4.1 |
Component: | selector | Version: | 1.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
comment:4 Changed 13 years ago by
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.
This would be a 3 line plugin if you wanted to support this for yourself. :)