Skip to content

Commit 6e9fd04

Browse files
committed
[css2] Added text about multiple IDs on one element and marked it "at risk."
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402258
1 parent 5926c27 commit 6e9fd04

3 files changed

Lines changed: 28 additions & 5 deletions

File tree

css2/cover.src

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ conditions must be met:</p>
203203

204204
<p>The working group has identified the following features as being
205205
currently poorly implemented by UAs. They are therefore most at risk
206-
of being removed from CSS2.1 when exiting CR. (Any changes of this
206+
of being removed from CSS&nbsp;2.1 when exiting CR. (Any changes of this
207207
nature will still result in the specification being returned to last
208208
call.) Implementors are urged to implement these features, or correct
209209
bugs in their implementations, if they wish to see thsse features remain
@@ -219,6 +219,12 @@ in this specification.</p>
219219
<p>Implementors should look at CSS3 Lists instead, where these and
220220
many other new values not found in CSS1 are defined in detail.
221221
[[CSS3LISTS]]</p>
222+
<dt>Support for multiple ID attributes for the ID selector
223+
<dd>
224+
<p>Since implementations are not expected to support multiple IDs
225+
per element soon, this feature may be made informative. The W3C
226+
Selectors specification will continue to have this feature
227+
normatively. (<a href="selector#id-selectors">Section 5.8.4.</a>)
222228
</dd>
223229
</dl>
224230

css2/refs.src

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: refs.src,v 2.29 2004-03-08 18:36:50 bbos Exp $ -->
3+
<!-- $Id: refs.src,v 2.30 2004-11-17 13:01:02 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Bibliography</TITLE>
@@ -187,6 +187,13 @@ http://www.w3.org/TR/2001/CR-css3-selectors-20011113</a>
187187
Available at <a href="http://www.w3.org/TR/WD-DOM/">
188188
http://www.w3.org/TR/WD-DOM/</a>
189189

190+
<dt><strong><a name="ref-DOM-LEVEL-3-CORE"
191+
class="informref">[DOM-LEVEL-3-CORE]</a></strong> <dd>"Document Object
192+
Model (DOM) Level 3 Core Specification", A. Le Hors, P. Le H�garet, et
193+
al. (eds.), 7 April 2004, W3C Recommendation. Available at <a
194+
href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407">
195+
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407</a>.
196+
190197
<dt><strong><a name="ref-MATH20"
191198
class="informref">[MATH20]</a></strong> <dd>"Mathematical Markup
192199
Language (MathML) Version 2.0", D. Carlisle, P. Ion, R. Miner, N.
@@ -226,6 +233,11 @@ Available at: <a href="http://www.w3.org/TR/WD-WAI-PAGEAUTH/">http://www.w3.org/
226233
authors,<br> Available at: <a
227234
href="http://www.w3.org/TR/xhtml1/">http://www.w3.org/TR/xhtml1/</a>.
228235

236+
<dt><strong><a name="ref-XMLID" class="informref">[XMLID]</a></strong>
237+
<dd>"xml:id Version 1.0", J. Marsh, D. Veillard N. Walsh, 9 November
238+
2004, W3C working draft (work in progress). Available at: <a
239+
href="http://www.w3.org/TR/2004/WD-xml-id-20041109/">
240+
http://www.w3.org/TR/2004/WD-xml-id-20041109/</a>.
229241

230242
<dt><strong><a name="ref-XMLNAMESPACES"
231243
class="informref">[XMLNAMESPACES]</a></strong>

css2/selector.src

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
22
<html lang="en">
3-
<!-- $Id: selector.src,v 2.89 2004-03-08 18:39:12 bbos Exp $ -->
3+
<!-- $Id: selector.src,v 2.90 2004-11-17 13:01:02 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Selectors</title>
@@ -643,10 +643,15 @@ selectors instead: <code>[name=p371]</code> instead of
643643
<code>#p371</code>. However, the cascading order of normal attribute
644644
selectors is different from ID selectors. It may be necessary to add
645645
an "!important" priority to the declarations: <code>[name=p371]
646-
{color: red ! important}</code>. Of course, elements in
647-
XML 1.0 documents without a DTD do not have IDs at all.</em>
646+
{color: red ! important}</code>.</em>
648647
</div>
649648

649+
<p>If an element has multiple ID attributes, all of them must be
650+
treated as IDs for that element for the purposes of the ID
651+
selector. Such a situation could be reached using mixtures of xml:id
652+
[[-XMLID]], DOM3 Core [[-DOM-LEVEL-3-CORE]], XML DTDs [[-XML10]] and
653+
namespace-specific knowledge.
654+
650655
<h2><a name="pseudo-elements">Pseudo-elements</a> and <a
651656
name="pseudo-classes">pseudo-classes</a></h2>
652657

0 commit comments

Comments
 (0)