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

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 UTC