[html5] r8518 - [giow] (3) Be more explicit about viewport rendering sizes (rendered and not) Af [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 28 16:11:17 PST 2014


Author: ianh
Date: 2014-02-28 16:11:16 -0800 (Fri, 28 Feb 2014)
New Revision: 8518

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Be more explicit about viewport rendering sizes (rendered and not)
Affected topics: Rendering

Modified: complete.html
===================================================================
--- complete.html	2014-02-28 23:24:22 UTC (rev 8517)
+++ complete.html	2014-03-01 00:11:16 UTC (rev 8518)
@@ -298,7 +298,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 28 February 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 1 March 2014</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -95508,7 +95508,12 @@
   in which a page is rendered not as the author intended, possibly for the purposes of phishing or
   otherwise misleading the user.</p>
 
-  <hr><p>If the <code><a href=#document>Document</a></code> is a <a href=#nested-browsing-context>nested browsing context</a>, and the <a href=#browsing-context-container>browsing
+  <hr><p>If a <code><a href=#document>Document</a></code> is a <a href=#nested-browsing-context>nested browsing context</a>, it is expected to be
+  positioned and sized to fit inside the content box of its <a href=#browsing-context-container>browsing context container</a>.
+  If a <a href=#browsing-context>browsing context</a> is not <a href=#being-rendered>being rendered</a>, it is expected to have a
+  viewport with zero width and zero height.</p>
+
+  <p>If the <code><a href=#document>Document</a></code> is a <a href=#nested-browsing-context>nested browsing context</a>, and the <a href=#browsing-context-container>browsing
   context container</a> of that <a href=#nested-browsing-context>nested browsing context</a> is a <code><a href=#frame>frame</a></code> or
   <code><a href=#the-iframe-element>iframe</a></code> element, and that element has a <code title="">scrolling</code> attribute,
   and that attribute's value is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">off</code>", "<code title="">noscroll</code>", or "<code title="">no</code>", then the
@@ -97722,8 +97727,9 @@
   <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>
+  are expected to be rendered as transparent black; the user agent is expected to not render the
+  <a href=#nested-browsing-context>nested browsing context</a> in this case, and that <a href=#nested-browsing-context>nested browsing context</a>
+  is expected to have a viewport with zero width and zero height.</p>
 
   </div>
 

Modified: index
===================================================================
--- index	2014-02-28 23:24:22 UTC (rev 8517)
+++ index	2014-03-01 00:11:16 UTC (rev 8518)
@@ -298,7 +298,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 28 February 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 1 March 2014</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -95508,7 +95508,12 @@
   in which a page is rendered not as the author intended, possibly for the purposes of phishing or
   otherwise misleading the user.</p>
 
-  <hr><p>If the <code><a href=#document>Document</a></code> is a <a href=#nested-browsing-context>nested browsing context</a>, and the <a href=#browsing-context-container>browsing
+  <hr><p>If a <code><a href=#document>Document</a></code> is a <a href=#nested-browsing-context>nested browsing context</a>, it is expected to be
+  positioned and sized to fit inside the content box of its <a href=#browsing-context-container>browsing context container</a>.
+  If a <a href=#browsing-context>browsing context</a> is not <a href=#being-rendered>being rendered</a>, it is expected to have a
+  viewport with zero width and zero height.</p>
+
+  <p>If the <code><a href=#document>Document</a></code> is a <a href=#nested-browsing-context>nested browsing context</a>, and the <a href=#browsing-context-container>browsing
   context container</a> of that <a href=#nested-browsing-context>nested browsing context</a> is a <code><a href=#frame>frame</a></code> or
   <code><a href=#the-iframe-element>iframe</a></code> element, and that element has a <code title="">scrolling</code> attribute,
   and that attribute's value is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">off</code>", "<code title="">noscroll</code>", or "<code title="">no</code>", then the
@@ -97722,8 +97727,9 @@
   <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>
+  are expected to be rendered as transparent black; the user agent is expected to not render the
+  <a href=#nested-browsing-context>nested browsing context</a> in this case, and that <a href=#nested-browsing-context>nested browsing context</a>
+  is expected to have a viewport with zero width and zero height.</p>
 
   </div>
 

Modified: source
===================================================================
--- source	2014-02-28 23:24:22 UTC (rev 8517)
+++ source	2014-03-01 00:11:16 UTC (rev 8518)
@@ -106548,6 +106548,11 @@
 
   <hr>
 
+  <p>If a <code>Document</code> is a <span>nested browsing context</span>, it is expected to be
+  positioned and sized to fit inside the content box of its <span>browsing context container</span>.
+  If a <span>browsing context</span> is not <span>being rendered</span>, it is expected to have a
+  viewport with zero width and zero height.</p>
+
   <p>If the <code>Document</code> is a <span>nested browsing context</span>, and the <span>browsing
   context container</span> of that <span>nested browsing context</span> is a <code>frame</code> or
   <code>iframe</code> element, and that element has a <code data-x="">scrolling</code> attribute,
@@ -108811,8 +108816,9 @@
 -->
 
   <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>
+  are expected to be rendered as transparent black; the user agent is expected to not render the
+  <span>nested browsing context</span> in this case, and that <span>nested browsing context</span>
+  is expected to have a viewport with zero width and zero height.</p>
 
   </div>
 




More information about the Commit-Watchers mailing list