[html5] r8380 - [giow] (3) Update <frame> requirements to match legacy better Fixing https://www [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jan 6 15:46:15 PST 2014


Author: ianh
Date: 2014-01-06 15:46:14 -0800 (Mon, 06 Jan 2014)
New Revision: 8380

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Update <frame> requirements to match legacy better
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23952
Affected topics: HTML, Rendering

Modified: complete.html
===================================================================
--- complete.html	2014-01-06 23:20:58 UTC (rev 8379)
+++ complete.html	2014-01-06 23:46:14 UTC (rev 8380)
@@ -95823,8 +95823,8 @@
         layout algorithm for that <code><a href=#frameset>frameset</a></code> element, with the rectangle as the
         surface.</p>
 
-        <p>Otherwise, it is a <code><a href=#frame>frame</a></code> element; create a <a href=#nested-browsing-context>nested browsing
-        context</a> sized to fit the rectangle.</p>
+        <p>Otherwise, it is a <code><a href=#frame>frame</a></code> element; render its <a href=#nested-browsing-context>nested browsing
+        context</a>, positoned and sized to fit the rectangle.</p>
 
        </li>
 
@@ -95833,6 +95833,8 @@
         <p>If there are any elements left in <var title="">children</var>, remove the first element
         from <var title="">children</var>.</p>
 
+       </li>
+
       </ol></li>
 
     </ol></li>
@@ -95969,6 +95971,16 @@
   <i>percentage</i>, then equally (not proportionally) to each entry whose unit is <i>absolute</i>,
   and finally, failing all else, to the last entry.</p>
 
+  <hr><!--
+  <p>The user agent is expected to force the 'display' property of <code>frame</code> elements to
+  'block', the 'height' property of <code>frame</code> elements to 0, and the 'width' property of
+  <code>frame</code> elements to 0, irrespective of CSS rules. (This only matters for when a
+  <code>frame</code> element is rendered outside a <code>frameset</code>.)</p>
+  http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2722 - as of Jan 2014, Chrome did this, but Firefox did not
+--><p>The contents of a <code><a href=#frame>frame</a></code> element that does not have a <code><a href=#frameset>frameset</a></code> parent
+  are expected to be rendered as transparent black (the <a href=#nested-browsing-context>nested browsing context</a> is not
+  shown in this case).</p>
+
   </div>
 
 
@@ -96859,8 +96871,9 @@
   <!-- START of section that's very similar to <iframe> -->
 
   <p>A <code><a href=#frame>frame</a></code> element is said to be an <dfn id=active-frame-element>active <code>frame</code> element</dfn> when
-  it is <a href=#in-a-document>in a <code>Document</code></a> and its parent element, if any, is a
-  <code><a href=#frameset>frameset</a></code> element.</p>
+  it is <a href=#in-a-document>in a <code>Document</code></a>.</p> <!-- even if the parent isn't a <frameset>. In
+  fact, even if its parent isn't being rendered at all:
+     http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2721 -->
 
   <p>When a <code><a href=#frame>frame</a></code> element is created as an <a href=#active-frame-element>active <code>frame</code>
   element</a>, or becomes an <a href=#active-frame-element>active <code>frame</code> element</a> after not having been

Modified: index
===================================================================
--- index	2014-01-06 23:20:58 UTC (rev 8379)
+++ index	2014-01-06 23:46:14 UTC (rev 8380)
@@ -95823,8 +95823,8 @@
         layout algorithm for that <code><a href=#frameset>frameset</a></code> element, with the rectangle as the
         surface.</p>
 
-        <p>Otherwise, it is a <code><a href=#frame>frame</a></code> element; create a <a href=#nested-browsing-context>nested browsing
-        context</a> sized to fit the rectangle.</p>
+        <p>Otherwise, it is a <code><a href=#frame>frame</a></code> element; render its <a href=#nested-browsing-context>nested browsing
+        context</a>, positoned and sized to fit the rectangle.</p>
 
        </li>
 
@@ -95833,6 +95833,8 @@
         <p>If there are any elements left in <var title="">children</var>, remove the first element
         from <var title="">children</var>.</p>
 
+       </li>
+
       </ol></li>
 
     </ol></li>
@@ -95969,6 +95971,16 @@
   <i>percentage</i>, then equally (not proportionally) to each entry whose unit is <i>absolute</i>,
   and finally, failing all else, to the last entry.</p>
 
+  <hr><!--
+  <p>The user agent is expected to force the 'display' property of <code>frame</code> elements to
+  'block', the 'height' property of <code>frame</code> elements to 0, and the 'width' property of
+  <code>frame</code> elements to 0, irrespective of CSS rules. (This only matters for when a
+  <code>frame</code> element is rendered outside a <code>frameset</code>.)</p>
+  http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2722 - as of Jan 2014, Chrome did this, but Firefox did not
+--><p>The contents of a <code><a href=#frame>frame</a></code> element that does not have a <code><a href=#frameset>frameset</a></code> parent
+  are expected to be rendered as transparent black (the <a href=#nested-browsing-context>nested browsing context</a> is not
+  shown in this case).</p>
+
   </div>
 
 
@@ -96859,8 +96871,9 @@
   <!-- START of section that's very similar to <iframe> -->
 
   <p>A <code><a href=#frame>frame</a></code> element is said to be an <dfn id=active-frame-element>active <code>frame</code> element</dfn> when
-  it is <a href=#in-a-document>in a <code>Document</code></a> and its parent element, if any, is a
-  <code><a href=#frameset>frameset</a></code> element.</p>
+  it is <a href=#in-a-document>in a <code>Document</code></a>.</p> <!-- even if the parent isn't a <frameset>. In
+  fact, even if its parent isn't being rendered at all:
+     http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2721 -->
 
   <p>When a <code><a href=#frame>frame</a></code> element is created as an <a href=#active-frame-element>active <code>frame</code>
   element</a>, or becomes an <a href=#active-frame-element>active <code>frame</code> element</a> after not having been

Modified: source
===================================================================
--- source	2014-01-06 23:20:58 UTC (rev 8379)
+++ source	2014-01-06 23:46:14 UTC (rev 8380)
@@ -106625,8 +106625,8 @@
         layout algorithm for that <code>frameset</code> element, with the rectangle as the
         surface.</p>
 
-        <p>Otherwise, it is a <code>frame</code> element; create a <span>nested browsing
-        context</span> sized to fit the rectangle.</p>
+        <p>Otherwise, it is a <code>frame</code> element; render its <span>nested browsing
+        context</span>, positoned and sized to fit the rectangle.</p>
 
        </li>
 
@@ -106635,6 +106635,8 @@
         <p>If there are any elements left in <var data-x="">children</var>, remove the first element
         from <var data-x="">children</var>.</p>
 
+       </li>
+
       </ol>
 
      </li>
@@ -106795,6 +106797,20 @@
   <i>percentage</i>, then equally (not proportionally) to each entry whose unit is <i>absolute</i>,
   and finally, failing all else, to the last entry.</p>
 
+  <hr>
+
+<!--
+  <p>The user agent is expected to force the 'display' property of <code>frame</code> elements to
+  'block', the 'height' property of <code>frame</code> elements to 0, and the 'width' property of
+  <code>frame</code> elements to 0, irrespective of CSS rules. (This only matters for when a
+  <code>frame</code> element is rendered outside a <code>frameset</code>.)</p>
+  http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2722 - as of Jan 2014, Chrome did this, but Firefox did not
+-->
+
+  <p>The contents of a <code>frame</code> element that does not have a <code>frameset</code> parent
+  are expected to be rendered as transparent black (the <span>nested browsing context</span> is not
+  shown in this case).</p>
+
   </div>
 
 
@@ -107811,8 +107827,9 @@
   <!-- START of section that's very similar to <iframe> -->
 
   <p>A <code>frame</code> element is said to be an <dfn>active <code>frame</code> element</dfn> when
-  it is <span>in a <code>Document</code></span> and its parent element, if any, is a
-  <code>frameset</code> element.</p>
+  it is <span>in a <code>Document</code></span>.</p> <!-- even if the parent isn't a <frameset>. In
+  fact, even if its parent isn't being rendered at all:
+     http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2721 -->
 
   <p>When a <code>frame</code> element is created as an <span>active <code>frame</code>
   element</span>, or becomes an <span>active <code>frame</code> element</span> after not having been




More information about the Commit-Watchers mailing list