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

CSS 2.1 cascade-precedence-001 test is incorrect

From: Nickolay Ponomarev <asqueella@gmail.com>
Date: Sat, 25 Sep 2010 20:25:38 +0400
Message-ID: <AANLkTikYVEa9yGGG2uT1nmSgc96=dr5tSd-P2gt_6nNk@mail.gmail.com>
To: public-css-testsuite@w3.org

The cascade-precedence-001 test [1] relies on the fact that the UA
stylesheet sets "th { text-align: center }", which is no longer
required by any spec, as far as I can see ([2], [3]).

Here's the description from the test:

"When determining the specified value of a property, the cascade
mechanism of (user agent, author, user) style sheets has precedence.
If no value results from such mechanism, then the property may inherit
from its parent. In this testcase, it is presumed that table cell
headers are specified to be aligned in the center in user agents style
sheets. Center is the default horizontal alignment value for table
header cells."


[1] http://test.csswg.org/suites/css2.1/20100917/html4/cascade-precedence-001.htm
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=559382
[3] http://www.w3.org/Bugs/Public/show_bug.cgi?id=9542
Received on Monday, 27 September 2010 08:25:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:51 UTC