[RC3] content-160

Le Lun 11 octobre 2010 9:51, Řyvind Stenhaug a écrit :
> (Author: Microsoft)


> 3)
> http://test.csswg.org/suites/css2.1/20101001/html4/content-160.htm
>
> Not valid. Spec states: "The computed value exists even when the
> property
> does not apply, as defined by the 'Applies To' line."


Řyvind,

http://test.csswg.org/suites/css2.1/20101001/html4/content-160.htm [RC2]

http://test.csswg.org/suites/css2.1/20101027/html4/content-160.htm [RC3]

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12/content-160.htm

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12/content-160.xht

Are you sure that such testcase is invalid?

"Computed value:  	On elements, always computes to 'normal'. (...)

normal
    Computes to 'none' for the :before and :after pseudo-elements.
"
http://www.w3.org/TR/CSS21/generate.html#content


"(...) The values 'none' and 'normal' are equivalent in CSS 2.1 (...)"
http://www.w3.org/TR/CSS21/changes.html#q4

I think that content-160 testcase is valid, correct.

I would remove
                background: white;
                color: white;
declarations from #div1 ruleset since they play no role (and should have
0 impact, 0 influence) in the testcase. I would add a bit more
explanation in the text assert.

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

CSS 2.1 test suite (RC3; October 27th 2010):
http://test.csswg.org/suites/css2.1/20101027/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Friday, 5 November 2010 19:49:05 UTC