NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 88 - Define the precise meaning of misordered <dl> markup
Define the precise meaning of misordered <dl> markup
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
: 74 126 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 13:07 CET by Nobody
Modified: 2008-03-06 11:49 CET (History)
1 user (show)

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 13:07:41 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 13:19:55 CET
*** Bug 74 has been marked as a duplicate of this bug. ***
Comment 2 Henri Sivonen 2008-03-03 18:40:52 CET
*** Bug 126 has been marked as a duplicate of this bug. ***
Comment 3 Henri Sivonen 2008-03-06 11:49:57 CET
Nothing new.