[html5] r8432 - [e] (0) Add a note to the tag omission section about docs having to be conformin [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jan 28 15:10:12 PST 2014
Author: ianh
Date: 2014-01-28 15:10:11 -0800 (Tue, 28 Jan 2014)
New Revision: 8432
Modified:
complete.html
index
source
Log:
[e] (0) Add a note to the tag omission section about docs having to be conforming for this to work
Affected topics: HTML Syntax and Parsing
Modified: complete.html
===================================================================
--- complete.html 2014-01-28 23:02:35 UTC (rev 8431)
+++ complete.html 2014-01-28 23:10:11 UTC (rev 8432)
@@ -85111,7 +85111,13 @@
</div>
+ <p class=note>This section assumes that the document is conforming, in particular, that there
+ are no <a href=#content-models title="content models">content model</a> violations. Omitting tags in the fashion
+ described in this section in a document that does not conform to the <a href=#content-models>content models</a>
+ described in this specification is likely to result in unexpected DOM differences (this is, in
+ part, what the content models are designed to avoid).</p>
+
<h5 id=element-restrictions><span class=secno>12.1.2.5 </span>Restrictions on content models</h5>
<p>For historical reasons, certain elements have extra restrictions beyond even the restrictions
Modified: index
===================================================================
--- index 2014-01-28 23:02:35 UTC (rev 8431)
+++ index 2014-01-28 23:10:11 UTC (rev 8432)
@@ -85111,7 +85111,13 @@
</div>
+ <p class=note>This section assumes that the document is conforming, in particular, that there
+ are no <a href=#content-models title="content models">content model</a> violations. Omitting tags in the fashion
+ described in this section in a document that does not conform to the <a href=#content-models>content models</a>
+ described in this specification is likely to result in unexpected DOM differences (this is, in
+ part, what the content models are designed to avoid).</p>
+
<h5 id=element-restrictions><span class=secno>12.1.2.5 </span>Restrictions on content models</h5>
<p>For historical reasons, certain elements have extra restrictions beyond even the restrictions
Modified: source
===================================================================
--- source 2014-01-28 23:02:35 UTC (rev 8431)
+++ source 2014-01-28 23:10:11 UTC (rev 8432)
@@ -94752,7 +94752,13 @@
</div>
+ <p class="note">This section assumes that the document is conforming, in particular, that there
+ are no <span data-x="content models">content model</span> violations. Omitting tags in the fashion
+ described in this section in a document that does not conform to the <span>content models</span>
+ described in this specification is likely to result in unexpected DOM differences (this is, in
+ part, what the content models are designed to avoid).</p>
+
<h5 id="element-restrictions">Restrictions on content models</h5>
<p>For historical reasons, certain elements have extra restrictions beyond even the restrictions
More information about the Commit-Watchers
mailing list