- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Sat, 04 Dec 2004 00:51:50 +0100
- To: Robin Berjon <robin.berjon@expway.fr>
- CC: W3C CSS List <www-style@w3.org>
Robin Berjon wrote: > Anne van Kesteren wrote: > >> Both the CSS 2.1 CR specification and the Selectors CR specification >> speak of ID *attributes*[1]. >> >> Recently, after reading some material on XML Schema I discovered that >> elements could be declared as type ID as well[2]. >> >> It does say something about compatibility, but it does permit you to >> use it on an element. >> >> So I was wondering how that would work together with CSS. > > The semantics of having an element of type ID are fuzzy at best (does > the ID map to the element of that type, or to its parent?), and the fact > that it's possible to have those in some schema languages could be > called a bug. If CSS is to say anything about this, it should be to > forbid it. It should probably do that. Although it only speaks about attributes now, it might be better if it's said more explicit so there can be no confusion. -- Anne van Kesteren <http://annevankesteren.nl/>
Received on Friday, 3 December 2004 23:52:04 UTC