[RC6] list-style-image-applies-to-[001-015] text assert need improvements; many applies-to-[001-015] should be re-examined

Arron,

Another matter which I do not understand.

Example given:

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/list-style-image-applies-to-001.htm


[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/list-style-image-applies-to-001.htm


Again, those testcases' text asserts absolutely collide with and
contradict the spec.

        <meta name="assert" content="The 'list-style-image' property
applies to elements with 'display' set to 'table-row-group'.">

while


'list-style-image'
    Value:  	<uri> | none | inherit
    Initial:  	none
    Applies to:  	elements with 'display: list-item'
http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-image


What that list-style-image-applies-to-001.htm actually measures is more
about computed value of parent being propagated to its descendants
despite not applying to it (despite not applying to the parent or
ancestor)... which is not really what the testcase was supposed to
check.

I wish to propose, suggest to replace such test with

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/list-style-image-applies-to-001.htm

that has this code chunk:

        <meta name="assert" content="The 'list-style-image' property
does not apply to elements with 'display' set to
'table-row-group'.">

        <style type="text/css">
        div
        {
        display: table-row-group;
        list-style-image: url("support/swatch-red.png");
        list-style-type: disc;
        }
        </style>

    </head>

    <body>

    <p>Test passes if there is <strong>no red</strong>.</p>

    <div>&nbsp;</div>

This testcase, I believe, is really what that
list-style-image-applies-to-001 testcase should be testing.

And I am convinced that many [property-name]-applies-to-[001-015]
testcases should be re-examined in light of what we discussed,
discovered today.

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

CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Received on Thursday, 1 September 2011 22:46:14 UTC