Opened 13 years ago
Closed 12 years ago
#5661 closed bug (wontfix)
jQuery (or sizzle?) does not return children of HTML5 sections in IE7
Reported by: | tonydewan | Owned by: | john |
---|---|---|---|
Priority: | minor | Milestone: | 1.next |
Component: | selector | Version: | 1.3.2 |
Keywords: | html5 section ie7 | Cc: | |
Blocked by: | Blocking: |
Description
jQuery (or more probably Sizzle) does not accurately return children of HTML5 <section>'s in IE7, even when using a "shiv", such as the one included in modernizr. <section>'s themselves are returned, but children are not. See here:
http://www.dev.weareabq.com/bugs/section.html
This bug appears in IE7, both standalone and in IE8 in compatibility mode. Modernizr (or similar shiv) is NOT required to recreate the bug, though it IS required to get the expected result in IE8.
I have not tested IE6 at all, nor have I looked into the core to see why this is happening.
Attachments (1)
Change History (7)
Changed 13 years ago by
Attachment: | section.html added |
---|
comment:1 Changed 13 years ago by
I forgot to mention that using a different means of selecting sections that does not include the tag name (e.g., via a class or id for the section) actually returns correctly (assuming the shiv is in place.) I updated the linked page showing this.
comment:3 Changed 13 years ago by
Most probably it could, yes. The only point that's new here is that the tag name is required to make it fail. However, #5515 references this: http://ejohn.org/blog/nodename-case-sensitivity/ which appears to be the root cause.
comment:5 Changed 12 years ago by
Milestone: | 1.4 → 1.next |
---|
comment:6 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | open → closed |
You need to be using this particular technique in order to get it to work correctly: http://ejohn.org/blog/html5-shiv/
All necessary code to recreate bug