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

On Thu, Sep 1, 2011 at 1:10 PM, "Gérard Talbot"
<css21testsuite@gtalbot.org> wrote:
> 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.">

Or a much simpler:

  <meta name=assert content="The 'list-style-position' property is
preserved on elements with 'display' set to 'table-row-group' and is
propagated via inheritance.">

~TJ

Received on Thursday, 1 September 2011 20:25:40 UTC