Re: cascade-precedence-001/002/003/004/005/006/007 invalid

On Thursday 2010-10-14 19:43 -0700, "Gérard Talbot" wrote:
> I could replace those testcases with testing the B element as follows too:
> 
> div {font-weight: normal;}
> 
> <div><b>This text should be bold</b></div>
> 
> but then again there is no requirement in CSS spec to style b element as
> 'font-weight: bold' and to do so in the user agent stylesheet.

Yes, but that's a lot less controversial since it doesn't actually
contradict other W3C specs.

(Testing th elements contradicts
http://dev.w3.org/html5/spec/rendering.html#alignment .)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Friday, 15 October 2010 04:08:40 UTC