W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

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

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 14 Oct 2010 21:08:05 -0700
To: "Gérard Talbot" <css21testsuite@gtalbot.org>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <20101015040805.GB32445@pickering.dbaron.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 October 2010 04:08:52 GMT