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

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 UTC