duckfly-tw/ie7-js

:nth-child doesn't work with extended properties

Opened this issue · 1 comments

What steps will reproduce the problem?
Simple HTML Table

#itemslist tr:nth-child(even){
    background:transparent;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#59000000,endColorstr=#59000000);
    zoom: 1;
}

What is the expected output? What do you see instead?
This workaround for IE8 (and lower)'s inability to use an RGBA background-color 
does not get applied to :nth-child table rows. It does work for other elements, 
but not :nth-child in this circumstance.

What version of the product are you using? On what operating system?
IE9 on Windows 7 with IE8 compatibility mode enabled.

Original issue reported on code.google.com by stupidno...@gmail.com on 8 Apr 2012 at 4:06

Sorry. If I try "#itemslist tr:nth-child(even) td" to style the TD instead of 
the TR, it works. Sorry to be stupid.

Original comment by stupidno...@gmail.com on 8 Apr 2012 at 4:32