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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 17 Jan 2009 13:47:56 -0800
To: www-style@w3.org
Message-ID: <20090117214756.GA19834@pickering.dbaron.org>

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).

-David

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

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Saturday, 17 January 2009 21:48:31 GMT

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