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

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,

http://test.csswg.org/suites/css2.1/20110323/html4/list-style-position-applies-to-001.htm

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

<!--
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
element.
http://www.w3.org/TR/CSS21/cascade.html#cascade
-->

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

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