W3C home > Mailing lists > Public > www-style@w3.org > December 2007

Re: Selector Syntax #a#b

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 30 Dec 2007 18:59:14 +0100
To: csad7@t-online.de (Christof Hoeke)
Cc: www-style@w3.org
Message-ID: <lvmfn3157oobkvcfdramptkumtigb332rg@hive.bjoern.hoehrmann.de>

* Christof Hoeke wrote:
>should the following selector be valid?
>
>#a#b
>
>Jigsaw parses it as invalid and obviously it does not make sense but if 
>I read the Selector spec right it should be syntactically valid?

This is valid, see e.g. http://www.w3.org/TR/2007/CR-CSS21-20070719

  Support for multiple ID attributes for the ID selector 
    Because implementations are not expected to support multiple IDs
    per element soon, this feature may be made informative. The W3C
    Selectors specification will continue to have this feature
    normatively. (Section 5.9.) 

Note that "Jigsaw" is a web server software, the W3C CSS Validator
runs on an instance of it.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 30 December 2007 17:59:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:57 GMT