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

Re: [RC5, pre-RC6] list-style-position-applies-to-* testcases: inheritance of list-style-position versus applicability

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 1 Sep 2011 13:10:19 -0700
Message-ID: <5fe1735c347aeeaf9cb55d6ad3864613.squirrel@cp3.shieldhost.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "Øyvind Stenhaug" <oyvinds@opera.com>, "Public CSS test suite mailing list" <public-css-testsuite@w3.org>

Le Jeu 1 septembre 2011 12:02, "Gérard Talbot" a écrit :
> Le Jeu 1 septembre 2011 9:42, Tab Atkins Jr. a écrit :

>> 'list-style-position' does "apply to"
>> display:table-row-group elements, in the sense that you can set it on
>> them and it's respected, held onto, and propagated through
>> inheritance.  The test is testing that implementations don't ignore
>> the 'list-style-position' value just because the "Applies To:" line
>> doesn't match.
>> I can see how it's confusing, though.  It would probably be good to
>> use some phrasing other than "applies to" in the asserts.

Arron, Tab,


How about

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

replaced with

        <meta name="assert" content="A 'list-style-position: inside'
declaration does not apply to a 'display: table-row-group' type
of element in the sense that it has no rendering effect on a
'display: table-row-group' type of element but its
'list-style-position' computed value for inheritance purposes
will be set to, will be assigned such specified value. In this
testcase, 'list-style-position: inside' declaration does not
have a rendering effect on the tested 'display: table-row-group'
element but its computed value will be set to such value and
then, via inheritance, the 'list-style-position: inside'
declaration will create, cause a rendering effect on the
descendant element (within its containment; the deeply nested
div in this testcase) which is a 'display: list-item' type of

6.1.1 Specified values
If the cascade results in a value, [then] use it.
Otherwise, if the property is inherited and the element is not the root
of the document tree, [then] use the computed value of the parent

Trying to ease, facilitate improvement for text assert here; so consider
such as a proposal, suggestion ...

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 20:10:51 UTC

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