W3C home > Mailing lists > Public > public-css-testsuite@w3.org > December 2012

CSS 2.1 @charset tests invalidated by Level 3

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 3 Dec 2012 19:10:14 +0200
Message-ID: <CAJQvAud5nvoh1x3ggZJaJEypHjVkDY4m=_JnqOsyQ0-ZYszCsA@mail.gmail.com>
To: public-css-testsuite@w3.org
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

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

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

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Monday, 3 December 2012 17:10:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 3 December 2012 17:10:51 GMT