Side navigation
#7558 closed bug (fixed)
Opened November 19, 2010 07:36AM UTC
Closed December 06, 2010 09:43PM UTC
Last modified March 10, 2012 12:41AM UTC
nth-child does not handle white space in IE
| Reported by: | anonymous | Owned by: | snover | 
|---|---|---|---|
| Priority: | high | Milestone: | 1.5 | 
| Component: | selector | Version: | 1.4.4 | 
| Keywords: | Cc: | ||
| Blocked by: | Blocking: | 
Description
p:nth-child(4n+8) works
p:nth-child( 4n +8 ) does not work in IE6 (and higher?)
Attachments (0)
Change History (5)
Changed November 19, 2010 08:07AM UTC by comment:1
| component: | unfiled → selector | 
|---|---|
| milestone: | 1.5 → 1.4.5 | 
| priority: | undecided → high | 
| status: | new → open | 
Changed November 20, 2010 03:29AM UTC by comment:2
If Firefox does handle the spaces properly,it seems that Chrome (and certainly Safari and all other browsers with the same engine) fails when there are spaces. I guess normalizing the string so that p:nth-child( 4n + 8 ) becomes p:nth-child(4n+8) before sending it to document.querySelectorAll would allow to make it cross browser
Changed November 21, 2010 10:02PM UTC by comment:3
| owner: | → snover | 
|---|---|
| status: | open → assigned | 
WebKit bug. This patch will allow jQuery to handle this gracefully by falling back to Sizzle until they fix it.
Changed December 06, 2010 09:43PM UTC by comment:4
| resolution: | → fixed | 
|---|---|
| status: | assigned → closed | 
Landed.
Changed January 14, 2011 10:20PM UTC by comment:5
| milestone: | 1.4.5 → 1.5 | 
|---|
Move fixed tickets to appropriate milestone
pull request