- From: Leif Arne Storset <lstorset@opera.com>
- Date: Wed, 12 Oct 2011 18:03:31 +0200
- To: "www-style@w3.org" <www-style@w3.org>
The spec for list-style-type and list-style-image is slightly unclear regarding 'none' values. list-style-image: # If the value resolves to a valid image, the image must be used # as the default contents of the ::marker pseudo-element. list-style-type: # none # # The ::marker pseudo-element must have no default contents. This will # suppress the creation of a marker unless the ::marker has its contents # specified directly through the 'content' property." In the normative prose it's not clear which of 'list-style-image: <image>' and 'list-style-type: none' wins. Example II: # ul { list-style-type: none; } # /* Suppresses the marker entirely, unless list-style-image is specified # with a valid image, or the marker's contents are set explicitly via # the 'content' property. */ In the informative example it's made clear that 'list-style-image' wins. 'list-style-type: none' is probably intended to say + The ::marker pseudo-element must have no default contents. This will + suppress the creation of a marker unless list-style-image is specified + with a valid image, or the ::marker has its contents specified + directly through the 'content' property", like the example. This is what all tested UAs implement. -- Leif Arne Storset Core Technology Developer, Opera Software Oslo, Norway
Received on Wednesday, 12 October 2011 16:04:06 UTC