- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Tue, 24 Jun 2008 12:43:29 -0700
- To: Robert Stam <robert@tallcomponents.com>
- CC: public-css-testsuite@w3.org
Robert Stam wrote: > Hi, > > I believe in CSS level 2.1 test t060402-c31-important-00-b should > display 2 green lines and than the third line red. > Because the specificity for the style= is 1,0,0,0 so will be more > important (even above the important from the styles from the style > block) > > How do you think about this? Actually, the p { color: green !important; } rule wins. It is less specific, but it has more weight. See http://www.w3.org/TR/CSS21/cascade.html#cascading-order ~fantasai
Received on Tuesday, 24 June 2008 19:44:06 UTC