Side navigation
#5883 closed enhancement (wontfix)
Opened January 20, 2010 10:41PM UTC
Closed November 01, 2010 05:36AM UTC
Last modified November 02, 2010 12:36AM UTC
: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
Attachments (0)
Change History (4)
Changed November 01, 2010 05:36AM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
Changed November 01, 2010 01:50PM UTC by comment:2
This would be a 3 line plugin if you wanted to support this for yourself. :)
Changed November 01, 2010 03:49PM UTC by comment:3
Changed November 02, 2010 12:36AM UTC by comment:4
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.