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

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.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Sunday, 21 December 2008 04:28:04 UTC