W3C home > Mailing lists > Public > www-style@w3.org > April 2011

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

From: Gérard Talbot <www-style@gtalbot.org>
Date: Mon, 11 Apr 2011 10:38:43 -0700
Message-ID: <d8fb27ab7f911f0a33a44d99d582da67.squirrel@cp3.shieldhost.com>
To: "Public www-style mailing list" <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT