- From: Christoph Päper <christoph.paeper@crissov.de>
- Date: Mon, 12 Mar 2012 21:42:08 +0100
- To: "www-style@w3.org Style" <www-style@w3.org>
Stefan Wallin: > But unfortunately I still have semantic issues with what :empty means for elements which cannot have children. An element (type) that cannot have children, like HTML’s ‘input’, is called “empty” in several document language description languages (think SGML, XSD, …). CSS uses the term for any element (instance) that does not have children although it possibly could, e.g. “<a></a>” or “<a/>”. Attributes are not children. Therefore ‘:empty’ is a perfectly sensible and maybe the best available name, although someone from a less technical background, say a graphics designer, may intuitively assume a different meaning.
Received on Monday, 12 March 2012 20:42:35 UTC