Re: [CSS21] ambiguity parsing 'list-style'

On Saturday 17 January 2009 22:47, L. David Baron wrote:
> On Friday 2008-12-19 11:01 -0500, L. David Baron wrote:
> [ in http://lists.w3.org/Archives/Public/www-style/2008Dec/0156.html
> ]
>
> > (2) seems significantly harder to implement than (1) or (3).
>
> Actually, it turns out (2) isn't that hard to implement [1].  I
> think it's also the intent of the current spec.
>
> So I retract my request for a spec change here.
>
> However, I think a clarification would be useful.  I propose to
> add the words "For example" to the beginning of the following text
> (which is currently *all* within <div class="example">):
>   # A value of 'none' for the 'list-style' property sets both
>   # 'list-style-type' and 'list-style-image' to 'none':
>   #
>   # ul { list-style: none }
>   #
>   # The result is that no list-item marker is displayed.
> and then immediately before it the normative text:
>   # 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'.  However, if both are otherwise
>   # specified, the declaration is in error (and thus ignored).

I think that indeed captures the implied meaning of 'none'. But the last 
sentence seems redundant. It's just another syntax error.

> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=474135


Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Wednesday, 21 January 2009 14:33:13 UTC