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

Re: Parsing list-style shorthand property

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 1 Nov 2004 09:03:24 +0000 (UTC)
To: Michael Winter <M.Winter@blueyonder.co.uk>
Cc: www-style@w3.org
Message-ID: <Pine.LNX.4.61.0411010859050.25029@dhalsim.dreamhost.com>

On Sun, 31 Oct 2004, Michael Winter wrote:
> 
> A thread in alt.html[1] began due to the perceived inability of Opera to parse
> a list-style rule of the form:
> 
>   list-style: <type> none;
> 
> where <type> is a valid value other than none. In such an instance, it appears
> that Opera treats this rule as erroneous and ignores it entirely.

Opera internal bug 155295.


> So, for the rule:
> 
>   list-style: <type> <position> none;
> 
> MUST a user agent be able to apply:
> 
>   list-style-type: <type>;
>   list-style-position: <position>;
>   list-style-image: none;
> 
> for any combination of valid values?

Yes. There is no ambiguity: 'none', if specified, applies to both -image 
and -type, unless one or the other is specified explicitly, in which case 
the 'none' value applies to the other one.

See http://www.w3.org/TR/CSS21/generate.html#lists, especially at the end 
of the page.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 1 November 2004 09:03:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:34 GMT