CSS 2.1 cascade-precedence-001 test is incorrect

Hi,

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."

Nickolay

[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