Side navigation
#5661 closed bug (wontfix)
Opened December 15, 2009 03:18PM UTC
Closed July 11, 2011 08:54PM UTC
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 (6)
Changed December 15, 2009 04:17PM UTC by comment:1
Changed December 18, 2009 01:09PM UTC by comment:3
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.
Changed November 14, 2010 04:30AM UTC by comment:4
status: | new → open |
---|
Changed March 31, 2011 04:29AM UTC by comment:5
milestone: | 1.4 → 1.next |
---|
Changed July 11, 2011 08:54PM UTC by comment:6
resolution: | → wontfix |
---|---|
status: | open → closed |
You need to be using this particular technique in order to get it to work correctly:
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.