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

Re: [css3-lists] 'list-style-type: none' and 'list-style-image: <image>' unclear

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 17 Nov 2011 16:48:46 -0800
Message-ID: <CAAWBYDDBHFo=5sZpEn-MygcLiKU+-5Adyh8qbbSFfcCantCEbw@mail.gmail.com>
To: Leif Arne Storset <lstorset@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, Oct 12, 2011 at 9:09 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Wed, Oct 12, 2011 at 9:03 AM, Leif Arne Storset <lstorset@opera.com> wrote:
>> 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.
>
> Yes, it's intended that -image wins, and -type is only consulted with
> -image is 'none'.  I can make that clearer.

On further thinking, *all* of the list-style-type values would have
needed similar wording.

To avoid that verbosity, I just made the introductory paragraph for
the property clearer that it's only consulted when list-style-image
isn't a valid <image>.

~TJ
Received on Friday, 18 November 2011 00:49:36 GMT

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