On Sat, 4 Nov 2000, Daniel Glazman wrote: > > By the way, the two following rules should also make the first line > black, according to cascading order and specificity computation rules : > > P::first-line { color :red } > P { color : black } No, because the ::first-line pseudo-element is only matched by the first, not the second. So the second takes precedence. > It suggests that pseudo-elements have an impact on specificity... This is actually unrelated, but they do (pseudo-elements have a specificity of 001). -- Ian Hickson )\ _. - ._.) fL Netscape, Standards Compliance QA /. `- ' ( `--' +1 650 937 6593 `- , ) - > ) \ irc.mozilla.org:Hixie _________________________ (.' \) (.' -' __________Received on Saturday, 4 November 2000 20:00:10 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:06 GMT