Why would quotes be `just right'?
The first will be a (relative) URL's and so that at least works, but
only if the style designer has provided a definition for "red" on his
server.
The other two won't work, because a string is not a valid data type
for these properties. Are you suggesting that strings should be
acceptable anywhere a keyword is expected? This may cause confusion
for the places where the string is to be interpreted as a URL.
Or do you want separate properties for URL's, such as
`text-background' vs `text-background-url'? The problem is that this
may not be very intuitive either. For example:
LI: text-background-url = "snowflake"
(LI) P: text-background = red
OL: text-background = red
(OL) P: text-background-url = "snowflake"
A P inside an LI inherits a background pattern, but it is overridden
with a background color. A P inside an OL inherits a background color,
but it is overridden with a background pattern.
Question: given the four rules above what happens to a P that is
inside an LI inside an OL?
Bert
-- Bert Bos Alfa-informatica <[email protected]> Rijksuniversiteit Groningen <http://www.let.rug.nl/~bert/> Postbus 716, NL-9700 AS GRONINGEN