W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2015

Re: CSS 2.1 @charset tests invalidated by Level 3

From: Simon Pieters <simonp@opera.com>
Date: Wed, 11 Feb 2015 12:59:41 +0400
To: "Henri Sivonen" <hsivonen@iki.fi>
Cc: public-css-testsuite@w3.org
Message-ID: <op.xtv59rnnidj3kv@simons-macbook-pro.local>
On Tue, 10 Feb 2015 14:27:01 +0400,  wrote:

> On Mon, Dec 3, 2012 at 7:10 PM, Henri Sivonen <hsivonen@iki.fi> wrote:
>> CSS Syntax Level 3 invalidates some @charset tests in the CSS 2.1 test
>> suite. It’s not good for anyone when people think that a Level 3
>> implementation is buggy when it correctly implements Level 3 but the
>> Level 2.1 test suite shows red. Therefore, please rescind the
>> following tests per
>> http://w3cmemes.tumblr.com/post/31865121758/the-joker-shares-his-approach-on-css2-1-issues
>>
>> Tests that are invalid per Level 3 but still pass (i.e. green for a
>> different reason than the reason why they are supposed to be green):
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-001.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-044.htm

Fixed the tests.

>> Tests invalidated by Level 3:
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-029.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-030.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-042.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-043.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-045.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-046.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-047.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-048.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-060.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-utf16-be-001.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-utf16-le-001.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/character-encoding-017.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/character-encoding-018.htm
>> http://test.csswg.org/suites/css2.1/20110323/html4/character-encoding-028.htm

Fixed the tests.

Please see https://hg.csswg.org/test/rev/3a54ecf96edb and let me know if I  
got something wrong.

>> The reasons why the above are now invalid:
>>  1) BOM now overrides HTTP
>>  2) BOM now overrides @charset
>>  3) Non-ASCII @charset no longer gets honored
>>  4) Bogus charset names now cause @charset to be ignored, not the
>> sheet to be discarded.
>>
>> Tests whose validity was questionable to begin with:
>> http://test.csswg.org/suites/css2.1/20110323/html4/at-charset-013.htm

Would you like this test to be removed? Or annotated as "MAY"? Something  
else? (We didn't discuss this test in particular at the f2f.)

>> --
>> Henri Sivonen
>> hsivonen@iki.fi
>> http://hsivonen.iki.fi/
>
> It looks like these tests are still the latest. What should my
> expectations be regarding getting CSS 2.1 tests rescinded when they
> are invalidated by newer levels?

The group reasoning at the f2f was that we should in general fix tests and  
errata 2.1. An ACTION exists for errataing 2.1:  
http://www.w3.org/Style/CSS/Tracker/actions/665

cheers

-- 
Simon Pieters
Opera Software
Received on Wednesday, 11 February 2015 12:00:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:20 UTC