[html5] r1482 - /
whatwg at whatwg.org
whatwg at whatwg.org
Tue Apr 22 20:33:10 PDT 2008
Author: ianh
Date: 2008-04-22 20:33:10 -0700 (Tue, 22 Apr 2008)
New Revision: 1482
Modified:
index
source
Log:
[e] (0) Make the <dl> conformance criteria less redundant.
Modified: index
===================================================================
--- index 2008-04-23 03:27:45 UTC (rev 1481)
+++ index 2008-04-23 03:33:10 UTC (rev 1482)
@@ -10199,15 +10199,15 @@
<code><a href="#dt">dt</a></code> and <code><a href="#dd">dd</a></code>,
then those elements or <a href="#text-node" title="text node">text
nodes</a> do not form part of any groups in that <code><a
- href="#dl">dl</a></code>, and the document is non-conforming.
+ href="#dl">dl</a></code>.
<p>If a <code><a href="#dl">dl</a></code> element contains only <code><a
href="#dt">dt</a></code> elements, then it consists of one group with
- names but no values, and the document is non-conforming.
+ names but no values.
<p>If a <code><a href="#dl">dl</a></code> element contains only <code><a
href="#dd">dd</a></code> elements, then it consists of one group with
- values but no names, and the document is non-conforming.
+ values but no names.
<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
@@ -10217,7 +10217,8 @@
<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 accidentally using <code><a
+ <p class=note>When a <code><a href="#dl">dl</a></code> element doesn't
+ match its content model, it is often due to accidentally using <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
Modified: source
===================================================================
--- source 2008-04-23 03:27:45 UTC (rev 1481)
+++ source 2008-04-23 03:33:10 UTC (rev 1482)
@@ -8390,16 +8390,16 @@
title="inter-element whitespace">whitespace</span> <span title="text
node">text nodes</span>, or elements other than <code>dt</code> and
<code>dd</code>, then those elements or <span title="text node">text
- nodes</span> do not form part of any groups in that <code>dl</code>,
- and the document is non-conforming.</p>
+ nodes</span> do not form part of any groups in that
+ <code>dl</code>.</p>
<p>If a <code>dl</code> element contains only <code>dt</code>
- elements, then it consists of one group with names but no values,
- and the document is non-conforming.</p>
+ elements, then it consists of one group with names but no
+ values.</p>
<p>If a <code>dl</code> element contains only <code>dd</code>
- elements, then it consists of one group with values but no names,
- and the document is non-conforming.</p>
+ elements, then it consists of one group with values but no
+ names.</p>
<p>If a <code>dl</code> element starts with one or more
<code>dd</code> elements, then the first group has no associated
@@ -8409,10 +8409,11 @@
<code>dt</code> elements, then the last group has no associated
value.</p>
- <p class="note">Such mistakes are often due to accidentally using
- <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>
+ <p class="note">When a <code>dl</code> element doesn't match its
+ content model, it is often due to accidentally using <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">
More information about the Commit-Watchers
mailing list