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

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 UTC