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

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 14 Oct 2010 19:43:26 -0700
Message-ID: <97344a53d29fa059575e1639f68b7a35.squirrel@cp3.shieldhost.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>

> On Thursday 2010-10-14 19:06 -0700, L. David Baron wrote:
>> On Thursday 2010-10-14 18:07 -0700, "GĂ©rard Talbot" wrote:
>> > >  * contradict the requirements of WhatWG HTML5,
>> >
>> > Those testcases declare HTML4 DTD in their doctype declaration; so
>> WhatWG
>> > HTML5 says is irrelevant as far as those testcases are involved.
>>
>> Nonsense.
>>
>> HTML specs do not proscribe an algorithm for switching handling
>> based on DOCTYPE declarations, nor should they.
>
> Er, s/proscribe/prescribe/.
>
> In any case, tests for HTML4 don't belong in the CSS test suite,

I am not looking or asking to make the CSS test suite an HTML4 test
suite at the same time.

> both because it's the *CSS* test suite and because HTML4 has been
> obsolete for years (since the then-HTML working group stopped
> maintaining it).

I said already I am all for removing those testcases. But now, you
replace them with what exactly?

I have propose EM in the previous email and in
http://lists.w3.org/Archives/Public/public-css-testsuite/2010Oct/0016.html
but then again, there is no normative requirements for user agent
stylesheets in CSS 2.1, to style EM element as 'font-style: italic' and
to do so in the user agent stylesheet.

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.

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (RC2; October 1st 2010):
http://test.csswg.org/suites/css2.1/20101001/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Friday, 15 October 2010 02:44:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 October 2010 02:44:10 GMT