[html5] r8030 - [e] (0) Elaborate on srcdoc='' syntax. Fixing https://www.w3.org/Bugs/Public/sho [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 3 14:39:28 PDT 2013


Author: ianh
Date: 2013-07-03 14:39:27 -0700 (Wed, 03 Jul 2013)
New Revision: 8030

Modified:
   complete.html
   index
   source
Log:
[e] (0) Elaborate on srcdoc='' syntax.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22530
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-07-03 21:33:26 UTC (rev 8029)
+++ complete.html	2013-07-03 21:39:27 UTC (rev 8030)
@@ -24655,6 +24655,16 @@
    the <code title=attr-iframe-srcdoc><a href=#attr-iframe-srcdoc>srcdoc</a></code> attribute, and once more to prevent the
    ampersand from being misinterpreted when parsing the sandboxed content.</p>
 
+   <p>Furthermore, notice that since the <a href=#syntax-doctype title=syntax-doctype>DOCTYPE</a> is optional in
+   <a href=#an-iframe-srcdoc-document title="an iframe srcdoc document"><code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> documents</a>, and the <code><a href=#the-html-element>html</a></code>,
+   <code><a href=#the-head-element>head</a></code>, and <code><a href=#the-body-element>body</a></code> elements have <a href=#syntax-tag-omission>optional
+   start and tags</a>, and the <code><a href=#the-title-element>title</a></code> element is also optional in <a href=#an-iframe-srcdoc-document title="an iframe
+   srcdoc document"><code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code>
+   documents</a>, the markup in a <code title=attr-iframe-srcdoc><a href=#attr-iframe-srcdoc>srcdoc</a></code> attribute can be
+   relatively succint despite representing an entire document, since only the contents of the
+   <code><a href=#the-body-element>body</a></code> element need appear literally in the syntax. The other elements are still
+   present, but only by implication.</p>
+
   </div>
 
   <p class=note>In <a href=#syntax>the HTML syntax</a>, authors need only remember to use U+0022

Modified: index
===================================================================
--- index	2013-07-03 21:33:26 UTC (rev 8029)
+++ index	2013-07-03 21:39:27 UTC (rev 8030)
@@ -24655,6 +24655,16 @@
    the <code title=attr-iframe-srcdoc><a href=#attr-iframe-srcdoc>srcdoc</a></code> attribute, and once more to prevent the
    ampersand from being misinterpreted when parsing the sandboxed content.</p>
 
+   <p>Furthermore, notice that since the <a href=#syntax-doctype title=syntax-doctype>DOCTYPE</a> is optional in
+   <a href=#an-iframe-srcdoc-document title="an iframe srcdoc document"><code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> documents</a>, and the <code><a href=#the-html-element>html</a></code>,
+   <code><a href=#the-head-element>head</a></code>, and <code><a href=#the-body-element>body</a></code> elements have <a href=#syntax-tag-omission>optional
+   start and tags</a>, and the <code><a href=#the-title-element>title</a></code> element is also optional in <a href=#an-iframe-srcdoc-document title="an iframe
+   srcdoc document"><code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code>
+   documents</a>, the markup in a <code title=attr-iframe-srcdoc><a href=#attr-iframe-srcdoc>srcdoc</a></code> attribute can be
+   relatively succint despite representing an entire document, since only the contents of the
+   <code><a href=#the-body-element>body</a></code> element need appear literally in the syntax. The other elements are still
+   present, but only by implication.</p>
+
   </div>
 
   <p class=note>In <a href=#syntax>the HTML syntax</a>, authors need only remember to use U+0022

Modified: source
===================================================================
--- source	2013-07-03 21:33:26 UTC (rev 8029)
+++ source	2013-07-03 21:39:27 UTC (rev 8030)
@@ -25906,6 +25906,17 @@
    the <code title="attr-iframe-srcdoc">srcdoc</code> attribute, and once more to prevent the
    ampersand from being misinterpreted when parsing the sandboxed content.</p>
 
+   <p>Furthermore, notice that since the <span title="syntax-doctype">DOCTYPE</span> is optional in
+   <span title="an iframe srcdoc document"><code>iframe</code> <code
+   title="attr-iframe-srcdoc">srcdoc</code> documents</span>, and the <code>html</code>,
+   <code>head</code>, and <code>body</code> elements have <a href="#syntax-tag-omission">optional
+   start and tags</a>, and the <code>title</code> element is also optional in <span title="an iframe
+   srcdoc document"><code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code>
+   documents</span>, the markup in a <code title="attr-iframe-srcdoc">srcdoc</code> attribute can be
+   relatively succint despite representing an entire document, since only the contents of the
+   <code>body</code> element need appear literally in the syntax. The other elements are still
+   present, but only by implication.</p>
+
   </div>
 
   <p class="note">In <span>the HTML syntax</span>, authors need only remember to use U+0022




More information about the Commit-Watchers mailing list