NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 126 - Define the precise meaning of misordered <dl> markup
Define the precise meaning of misordered <dl> markup
Status: RESOLVED DUPLICATE of bug 88
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 17:40 CET by Nobody
Modified: 2008-03-03 18:40 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-03-03 17:40:32 CET
Index: source
===================================================================
--- source	(revision 1244)
+++ source	(revision 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>
Comment 1 Henri Sivonen 2008-03-03 18:40:52 CET

*** This bug has been marked as a duplicate of bug 88 ***