W3C home > Mailing lists > Public > www-style@w3.org > August 2005

[CSS21] Multiple IDs

From: Chris Lilley <chris@w3.org>
Date: Thu, 25 Aug 2005 15:41:51 +0200
Message-ID: <1789757423.20050825154151@w3.org>
To: www-style@w3.org

Hello www-style,

This comment is sent from both the CDF WG and the SVG WG.

The features at risk lists multiple IDs "Because implementations are not
expected to support multiple IDs per element soon, this feature may be
made informative. "
Does this mean HTML implementations, or all
implementations? As the CSS 2.1 selectors chapter correctly states:

    If an element has multiple ID attributes, all of them must be
    treated as IDs for that element for the purposes of the ID selector.
    Such a situation could be reached using mixtures of xml:id [XMLID],
    DOM3 Core [DOM-LEVEL-3-CORE], XML DTDs [XML10] and
    namespace-specific knowledge.

In SVG 1.2, IDs could arise from any of these methods. Why should
CSS selectors give different results to getElementById? Why does CSS 2.1
propose to tolerate this variability and inconsistency, whereby
compliant implementations can fail on a simple #foo selector?

Removal of the wording on multiple ID attributes limits the suitability
of CSS 2.1 to SVG and CDF. SVG and CDF WGs request that this
functionality remain in the draft and be tested for in the test suite.

 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
Received on Thursday, 25 August 2005 13:42:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:20 UTC