- From: Christoph Päper <christoph.paeper@tu-clausthal.de>
- Date: Wed, 20 Oct 2004 19:59:29 +0200
- To: www-style@w3.org
*Leszek* <leszek@controtex.com>: > > How about a property for everything called 'default', 'reset', 'system', 'useragent' or something. 'default' sounds to me too much like 'initial', which is the default value from the spec and not from the UA stylesheet for a specific document type. > Although I'm not sure exactly how this would work with the cascade, Well, the UA already has to know the source of the stylesheets (UA, author, user), so it should at least be able to find the respective value easily. > I'm sure it would be very useful. In user stylesheets at least. > Also, a nice selector to have would be a noclass selector, i.e > "ul.(noclass)", That would have to be realised with a pseudo-class (funny, eh?) like "ul:noclass" (and probably ':noid' respectively). In some (AFAIK wrong) implementations "ul[class='']" might work already. Another, more general approach would be an attribute negator, i.e. something like "ul[!class]". For now overwriting works more or less: ul {foo: bar} /* no class */ ul[class] {foo: baz} /* any class */ The specifity differs, though.
Received on Wednesday, 20 October 2004 18:00:02 UTC