Note: √ means full support
Delta means yes, but some questions exist.
The effect is obviously not supported.
I. Support for CSS pseudo classes:
2. Support for (selector) selectors
After reading the list above, I don't know if you have found a problem. IE6's support for the. class selector turned out to be Delta. I wonder if I didn't find any problems when I used. Class in IE6. Here, how can it be Delta? after reading the instructions, we can see that there is indeed a problem in parsing the double classes. What do I mean? OK.CodeIn IE6 and other browsers respectively.
<! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8"/>
<Title> untitled document </title>
<Style type = "text/CSS">
. Red. Green {color: Blue ;}
. Green {color: green ;}
. Red {color: red ;}
</Style>
</Head>
<Body>
<P class = "green red"> test </P>
</Body>
</Html>
If you know a little about the calculation of CSS priority, you should know that the color of test in P should be blue ,. red. green has a priority of 0020 ,. red has a priority of 0010. That's right. It is indeed blue in other browsers, But it turns red when you run it in IE6. In IE6, the style of the last class overwrites the style of the full class.AlgorithmYes. This is why the Technical Support for. Class in the above table is Delta.