[html5] r8289 - [giow] (3) Handle the case of removing the 'src' attribute on a live <iframe>, a [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Nov 15 14:10:50 PST 2013


Author: ianh
Date: 2013-11-15 14:10:49 -0800 (Fri, 15 Nov 2013)
New Revision: 8289

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Handle the case of removing the 'src' attribute on a live <iframe>, and some minor clarity changes.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23637
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-11-15 21:26:13 UTC (rev 8288)
+++ complete.html	2013-11-15 22:10:49 UTC (rev 8289)
@@ -22676,7 +22676,7 @@
 
   <hr><!-- SRC/SRCDOC PROCESSING MODEL --><p>When an <code><a href=#the-iframe-element>iframe</a></code> element is <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted
   into a document</a>, the user agent must create a <a href=#nested-browsing-context>nested browsing context</a>, and
-  then <a href=#process-the-iframe-attributes>process the <code>iframe</code> attributes</a> for the first time.</p>
+  then <a href=#process-the-iframe-attributes>process the <code>iframe</code> attributes</a> for the "first time".</p>
 
   <p>When an <code><a href=#the-iframe-element>iframe</a></code> element is <a href=#remove-an-element-from-a-document title="remove an element from a document">removed
   from a document</a>, the user agent must <a href=#a-browsing-context-is-discarded title="a browsing context is
@@ -22708,8 +22708,8 @@
    resulting <code><a href=#document>Document</a></code> must be considered <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a>.</dd>
 
    <dt>Otherwise, if the element has no <code title=attr-iframe-src><a href=#attr-iframe-src>src</a></code> attribute
-   specified, and the user agent is processing the <code><a href=#the-iframe-element>iframe</a></code>'s attributes for the first
-   time</dt>
+   specified, and the user agent is processing the <code><a href=#the-iframe-element>iframe</a></code>'s attributes for the "first
+   time"</dt>
 
    <dd>
 
@@ -22726,8 +22726,10 @@
 
     <ol><li>
 
-      <p>If the value of the <code title=attr-iframe-src><a href=#attr-iframe-src>src</a></code> attribute is the empty string,
+<!--CLEANUP-->
+      <p>If the value of the <code title=attr-iframe-src><a href=#attr-iframe-src>src</a></code> attribute is missing, or its value is the empty string,
       let <var title="">url</var> be the string "<code><a href=#about:blank>about:blank</a></code>".</p>
+      <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2641 -->
 
       <p>Otherwise, <a href=#resolve-a-url title="resolve a url">resolve</a> the value of the <code title=attr-iframe-src><a href=#attr-iframe-src>src</a></code> attribute, relative to the <code><a href=#the-iframe-element>iframe</a></code> element.</p>
 

Modified: index
===================================================================
--- index	2013-11-15 21:26:13 UTC (rev 8288)
+++ index	2013-11-15 22:10:49 UTC (rev 8289)
@@ -22676,7 +22676,7 @@
 
   <hr><!-- SRC/SRCDOC PROCESSING MODEL --><p>When an <code><a href=#the-iframe-element>iframe</a></code> element is <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted
   into a document</a>, the user agent must create a <a href=#nested-browsing-context>nested browsing context</a>, and
-  then <a href=#process-the-iframe-attributes>process the <code>iframe</code> attributes</a> for the first time.</p>
+  then <a href=#process-the-iframe-attributes>process the <code>iframe</code> attributes</a> for the "first time".</p>
 
   <p>When an <code><a href=#the-iframe-element>iframe</a></code> element is <a href=#remove-an-element-from-a-document title="remove an element from a document">removed
   from a document</a>, the user agent must <a href=#a-browsing-context-is-discarded title="a browsing context is
@@ -22708,8 +22708,8 @@
    resulting <code><a href=#document>Document</a></code> must be considered <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a>.</dd>
 
    <dt>Otherwise, if the element has no <code title=attr-iframe-src><a href=#attr-iframe-src>src</a></code> attribute
-   specified, and the user agent is processing the <code><a href=#the-iframe-element>iframe</a></code>'s attributes for the first
-   time</dt>
+   specified, and the user agent is processing the <code><a href=#the-iframe-element>iframe</a></code>'s attributes for the "first
+   time"</dt>
 
    <dd>
 
@@ -22726,8 +22726,10 @@
 
     <ol><li>
 
-      <p>If the value of the <code title=attr-iframe-src><a href=#attr-iframe-src>src</a></code> attribute is the empty string,
+<!--CLEANUP-->
+      <p>If the value of the <code title=attr-iframe-src><a href=#attr-iframe-src>src</a></code> attribute is missing, or its value is the empty string,
       let <var title="">url</var> be the string "<code><a href=#about:blank>about:blank</a></code>".</p>
+      <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2641 -->
 
       <p>Otherwise, <a href=#resolve-a-url title="resolve a url">resolve</a> the value of the <code title=attr-iframe-src><a href=#attr-iframe-src>src</a></code> attribute, relative to the <code><a href=#the-iframe-element>iframe</a></code> element.</p>
 

Modified: source
===================================================================
--- source	2013-11-15 21:26:13 UTC (rev 8288)
+++ source	2013-11-15 22:10:49 UTC (rev 8289)
@@ -23820,7 +23820,7 @@
 
   <p>When an <code>iframe</code> element is <span data-x="insert an element into a document">inserted
   into a document</span>, the user agent must create a <span>nested browsing context</span>, and
-  then <span>process the <code>iframe</code> attributes</span> for the first time.</p>
+  then <span>process the <code>iframe</code> attributes</span> for the "first time".</p>
 
   <p>When an <code>iframe</code> element is <span data-x="remove an element from a document">removed
   from a document</span>, the user agent must <span data-x="a browsing context is
@@ -23856,8 +23856,8 @@
    data-x="attr-iframe-srcdoc">srcdoc</code> document</span>.</p></dd>
 
    <dt>Otherwise, if the element has no <code data-x="attr-iframe-src">src</code> attribute
-   specified, and the user agent is processing the <code>iframe</code>'s attributes for the first
-   time</dt>
+   specified, and the user agent is processing the <code>iframe</code>'s attributes for the "first
+   time"</dt>
 
    <dd>
 
@@ -23876,8 +23876,10 @@
 
      <li>
 
-      <p>If the value of the <code data-x="attr-iframe-src">src</code> attribute is the empty string,
+<!--CLEANUP-->
+      <p>If the value of the <code data-x="attr-iframe-src">src</code> attribute is missing, or its value is the empty string,
       let <var data-x="">url</var> be the string "<code>about:blank</code>".</p>
+      <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2641 -->
 
       <p>Otherwise, <span data-x="resolve a url">resolve</span> the value of the <code
       data-x="attr-iframe-src">src</code> attribute, relative to the <code>iframe</code> element.</p>




More information about the Commit-Watchers mailing list