[html5] r1245 - /
whatwg at whatwg.org
whatwg at whatwg.org
Mon Feb 25 19:19:56 PST 2008
Author: ianh
Date: 2008-02-25 19:19:53 -0800 (Mon, 25 Feb 2008)
New Revision: 1245
Modified:
index
source
Log:
[c] (1) Define the precise meaning of misordered <dl> markup
Modified: index
===================================================================
--- index 2008-02-26 03:15:05 UTC (rev 1244)
+++ index 2008-02-26 03:19:53 UTC (rev 1245)
@@ -9932,6 +9932,20 @@
href="#dd">dd</a></code> elements, then it consists of one group with
values but no names, and the document is non-conforming.
+ <p>If a <code><a href="#dl">dl</a></code> element starts with one or more
+ <code><a href="#dd">dd</a></code> elements, then the first group has no
+ associated name.
+
+ <p>If a <code><a href="#dl">dl</a></code> element ends with one or more
+ <code><a href="#dt">dt</a></code> elements, then the last group has no
+ associated value.
+
+ <p class=note>Such mistakes are often due to using accidentally <code><a
+ href="#dd">dd</a></code> elements in the place of <code><a
+ href="#dt">dt</a></code> elements and vice versa. Conformance checkers can
+ spot such mistakes and might be able to advise authors how to correctly
+ use the markup.
+
<div class=example>
<p>In the following example, one entry ("Authors") is linked to two values
("John" and "Luke").</p>
Modified: source
===================================================================
--- source 2008-02-26 03:15:05 UTC (rev 1244)
+++ source 2008-02-26 03:19:53 UTC (rev 1245)
@@ -8096,6 +8096,20 @@
elements, then it consists of one group with values but no names,
and the document is non-conforming.</p>
+ <p>If a <code>dl</code> element starts with one or more
+ <code>dd</code> elements, then the first group has no associated
+ name.</p>
+
+ <p>If a <code>dl</code> element ends with one or more
+ <code>dt</code> elements, then the last group has no associated
+ value.</p>
+
+ <p class="note">Such mistakes are often due to using accidentally
+ <code>dd</code> elements in the place of <code>dt</code> elements
+ and vice versa. Conformance checkers can spot such mistakes and
+ might be able to advise authors how to correctly use the markup.</p>
+
+
<div class="example">
<p>In the following example, one entry ("Authors") is linked to two
values ("John" and "Luke").</p>
More information about the Commit-Watchers
mailing list