- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Tue, 8 Jun 2010 16:42:52 -0700
- To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
- Cc: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Hello all, Testcases: http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/display-003.htm http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/display-003.htm In my opinion, when an element is set to 'display: list-item', then it should display the principal block box with a marker box typical of list-item. The initial values of list-style-type (disc), list-style-image (none) and list-style-position (outside) should be used for list-item elements. Section 12.5.1 'list-style-type', 'list-style-image', 'list-style-position' properties http://www.w3.org/TR/CSS21/generate.html#list-style So, I see no reason, no justification to declare list-style-type: disc; in the display-003.htm testcase. In fact, specifying 'list-style-type: disc' more or less defeats the underlying purpose of the testcase: the <span> element should be displayed as a list item along with initial list-(type, position, image) values for a list item. ------------- When the spec says " An element with 'display: list-item' generates a principal box for the element's content and an optional marker box as a visual indication that the element is a list item. " I personally do not quite understand why the adjective "optional" was used by the spec writer. The marker box exists regardless of 'list-style-position' declaration and when 'list-style-type' is 'none', then the marker box is empty, has no marker but there is still a marker box ... as far as I understand this. regards, Gérard -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 test suite (alpha 2; March 16th 2010): http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/toc.html CSS 2.1 test suite contributors: http://test.csswg.org/source/contributors/
Received on Tuesday, 8 June 2010 23:43:28 UTC