Side navigation
#5664 closed bug (wontfix)
Opened December 16, 2009 03:32AM UTC
Closed July 11, 2011 09:18PM UTC
Last modified July 21, 2011 04:44PM UTC
querySelectorAll with nth-child in webkit
Reported by: | caii | Owned by: | john |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | selector | Version: | 1.4a1 |
Keywords: | querySelectorAll needsreview | Cc: | |
Blocked by: | Blocking: |
Description
<ul> <li>text 01</li> <li>text 02</li> <li>text 03</li> <li>text 04</li> <li>text 05</li> <li>text 06</li> <li>text 07</li> <li>text 08</li> </ul> <ul> <li>text 01</li> <li>text 02</li> <li>text 03</li> <li>text 04</li> <li>text 05</li> <li>text 06</li> <li>text 07</li> <li>text 08</li> </ul> <script> document.querySelectorAll("ul li:nth-child(4n+3),ul li:nth-child(4n+2)").length // FF:8 ;webkit:0; //but jquery use querySelectorAll on that jQuery("ul li:nth-child(4n+3),ul li:nth-child(4n+2)").length // FF:8 ;webkit:0; </script>
Attachments (0)
Change History (5)
Changed November 16, 2010 04:35AM UTC by comment:1
priority: | major → low |
---|---|
status: | new → open |
Changed March 31, 2011 03:33AM UTC by comment:2
keywords: | querySelectorAll → querySelectorAll needsreview |
---|
Changed March 31, 2011 04:07AM UTC by comment:3
milestone: | 1.4 → 1.next |
---|
Changed July 11, 2011 09:18PM UTC by comment:4
resolution: | → wontfix |
---|---|
status: | open → closed |
This is a webkit bug (https://bugs.webkit.org/show_bug.cgi?id=32856) for which we cannot come up with a tenable, non-invasive solution.
http://jsfiddle.net/dmethvin/qW2tt/
Looks like a qSA bug with webkit.