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

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

From: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Wed, 31 Aug 2011 18:36:35 +0000
To: "css21testsuite@gtalbot.org" <css21testsuite@gtalbot.org>
CC: Public CSS test suite mailing list <public-css-testsuite@w3.org>
Message-ID: <07349ECFC3608F48BC3B10459913E70B14865E30@TK5EX14MBXC294.redmond.corp.microsoft.com>
On Monday, February 21, 2011 12:36 PM Gérard Talbot wrote:
> The text assertions of the testcases
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-001.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-002.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-003.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-004.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-005.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-006.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-007.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-008.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-009.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-012.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-013.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-014.xht
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_12
> /list-style-position-applies-to-015.xht
> 
> each and all say that list-style-position applies to any/all elements with
> display set to other than list-item but that's not true. Those testcases test the
> inheritability/inheritance of list-style-position and not its effective
> applicability. The text assertion of these
> list-style-position-applies-to-* confuse inheritance and applicability.

They may be testing that the inheritance works as well but they also test that the list-style-position set on the particular elements actually works. If it is correctly set and inherited correctly to the point where it is proven by the test then the test is valid and that is what I am seeing right now.

> If an element does not have, does not render a list-item, then list-style-
> position can not apply to it.

That is not true every property applies to every element at all times. It has to for inheritance to work properly. The application of a property from the applies-to definition is trying to communicate that if a property does not apply then the property is reset to the initial value when specified on that type of element.

No changes should be made to these files in my opinion since they are testing the applies-to as best as they can and still be valid test cases.

--
Thanks,
Arron Eicholz
Received on Wednesday, 31 August 2011 18:37:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 31 August 2011 18:37:12 GMT