W3C home > Mailing lists > Public > www-style@w3.org > January 2009

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

From: Bert Bos <bert@w3.org>
Date: Wed, 21 Jan 2009 15:32:35 +0100
To: www-style@w3.org
Message-Id: <200901211532.35552.bert@w3.org>

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 GMT

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