jkiss / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 1 forks source link

:nth-child doesn't work with extended properties #363

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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