On Sun, 31 Oct 2004 00:03:31 +0300, Lauri Raittila
[snip]
Read spec:
http://www.w3.org/TR/CSS2/generate.html#propdef-list-style
http://www.w3.org/TR/CSS21/generate.html#propdef-list-style
| A value of 'none' for the 'list-style' property sets both 'list-style-
| type' and 'list-style-image' to 'none':
[Taken from my post to opera.page-display, slightly abridged]
However, the specific example in the Recommendation is:
list-style: none;
In such a case, it is reasonable to assume that "none" should apply to
both -image and -style.
Whilst I'll admit that having to determine which value applies to which
property in a shorthand rule probably won't be achieved by elegant code,
it is feasible. In the rule:
list-style: none inside lower-alpha;
the first token, "none" could provisionally be applied to both -image and
-style properties as it is a legal value for either. The next token,
inside, is only valid for -position, so that can be applied without issue.
The final token, lower-alpha, is only applicable to -style, so its
provisional value of "none" is changed to "lower-alpha", and the
provisional value for -image is left as-is.
Similarly:
list-style: none inside url(...);
except that now, it is -image that has the unambiguous value.
If, as in your example, none is specified once, the provisional values for
both -image and -style will remain unchanged.
Mike