W3C home > Mailing lists > Public > public-html-diffs@w3.org > June 2009

<iframe> content model. (whatwg r3280)

From: poot <cvsmail@w3.org>
Date: Wed, 17 Jun 2009 04:28:46 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090616192846.EA1772BC3D@toro.w3.mag.keio.ac.jp>
<iframe> content model. (whatwg r3280)


RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2426
retrieving revision 1.2427
diff -u -d -r1.2426 -r1.2427
--- Overview.html	16 Jun 2009 18:55:39 -0000	1.2426
+++ Overview.html	16 Jun 2009 19:14:28 -0000	1.2427
@@ -15758,13 +15758,18 @@
   are successfully used.<p>Descendants of <code><a href="#the-iframe-element">iframe</a></code> elements represent
   nothing. (In legacy user agents that do not support
   <code><a href="#the-iframe-element">iframe</a></code> elements, the contents would be parsed as markup
-  that could act as fallback content.)<p>The content model of <code><a href="#the-iframe-element">iframe</a></code> elements is text, except
-  that the text must be such that <span class="XXX">... anyone
-  have any bright ideas?</span></p><!--XXX
-    Gotta handle <script> elements inside <iframe>s that screw around with the DOM on the fly, or that use document.write().
-    Gotta handle <iframe> elements created from script with text contents.
-    Gotta handle the XML case.
-   --><p class="note">The <a href="#html-parser">HTML parser</a> treats markup inside
+  that could act as fallback content.)<p>When used in <a href="#html-documents">HTML documents</a>, the allowed content
+  model of <code><a href="#the-iframe-element">iframe</a></code> elements is text, except that invoking
+  the <a href="#html-fragment-parsing-algorithm">HTML fragment parsing algorithm</a> with the
+  <code><a href="#the-iframe-element">iframe</a></code> element as the <var title="">context</var>
+  element and the text contents as the <var title="">input</var> must
+  result in a list of nodes that are all <a href="#phrasing-content-0">phrasing
+  content</a>, with no <a href="#parse-error" title="parse error">parse
+  errors</a> having occurred, with no <code><a href="#script">script</a></code> elements
+  being anywhere in the list or as descendants of elements in the
+  list, and with all the elements in the list (including their
+  descendants) being themselves conforming.<p>The <code><a href="#the-iframe-element">iframe</a></code> element must be empty in <a href="#xml-documents">XML
+  documents</a>.<p class="note">The <a href="#html-parser">HTML parser</a> treats markup inside
   <code><a href="#the-iframe-element">iframe</a></code> elements as text.<div class="impl">
   <p>The DOM attributes <dfn id="dom-iframe-src" title="dom-iframe-src"><code>src</code></dfn>, <dfn id="dom-iframe-name" title="dom-iframe-name"><code>name</code></dfn>, <dfn id="dom-iframe-sandbox" title="dom-iframe-sandbox"><code>sandbox</code></dfn>, and <dfn id="dom-iframe-seamless" title="dom-iframe-seamless"><code>seamless</code></dfn> must
Received on Tuesday, 16 June 2009 19:29:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:08:57 UTC