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

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 1 Sep 2011 15:45:43 -0700
Message-ID: <d2ad5d520bbd312b9e09373880a691ea.squirrel@cp3.shieldhost.com>
To: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>

Another matter which I do not understand.

Example given:



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


    Value:  	<uri> | none | inherit
    Initial:  	none
    Applies to:  	elements with 'display: list-item'

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

I wish to propose, suggest to replace such test with


that has this code chunk:

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

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



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


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:

CSS 2.1 Test suite RC6, March 23rd 2011

CSS 2.1 test suite harness:
Received on Thursday, 1 September 2011 22:46:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:23 UTC