[CSS21] [section 12.5.1 'list-style' shorthand property] 'none' in 'list-style' shorthand: clarifications required

Hello,

"
A value of 'none' within the 'list-style' property sets whichever of
'list-style-type' and 'list-style-image' are not otherwise specified to
'none'.
"
http://www.w3.org/TR/CSS21/generate.html#propdef-list-style

I believe the above sentence of the spec is prone to interpretation, is
difficult to understand.

I believe the safest and most efficient way to help a careful reader is to
provide a judicious example.

I propose to add



ul {list-style: url("http://png.com/ellipse.png") none;}
only sets 'list-style-type' to 'none'; the 'list-style-image' remains set
to the image "ellipse.png".



Providing an example avoids, overcomes wording and interpretation
difficulties.


More info:
http://lists.w3.org/Archives/Public/public-css-testsuite/2011Apr/0020.html
http://lists.w3.org/Archives/Public/public-css-testsuite/2011Apr/0021.html

regards, Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Monday, 11 April 2011 17:39:15 UTC