W3C home > Mailing lists > Public > www-style@w3.org > December 2008

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

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 20 Dec 2008 23:27:28 -0500
To: www-style@w3.org
Message-ID: <20081221042728.GA21442@pickering.dbaron.org>

On Saturday 2008-12-20 22:06 -0600, Tab Atkins Jr. wrote:
> (Really, though, this just makes me wonder why list-style-image exists
> at all, when it's truly just a special value for list-style-type -
> type and image are mutually exclusive, after all.  It would be
> unambiguous to have type accept a url, and this parsing issue wouldn't
> arise at all.)

Having the type allows fallback when the image doesn't load or isn't
a supported type.

That said, perhaps that suggests the syntax ought to be like
'cursor', with an arbitrary number of url() values (often zero)
followed by a mandatory single type.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Sunday, 21 December 2008 04:28:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:42 UTC