Skip to content

Commit

Permalink
[giow] (3) Update <frame> requirements to match legacy better
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23952
Affected topics: HTML, Rendering

git-svn-id: http://svn.whatwg.org/webapps@8380 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 6, 2014
1 parent 87fe8e8 commit 94938d4
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 12 deletions.
21 changes: 17 additions & 4 deletions complete.html
Expand Up @@ -95823,8 +95823,8 @@ <h3 id=frames-and-framesets><span class=secno>14.6 </span>Frames and framesets</
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>

Expand All @@ -95833,6 +95833,8 @@ <h3 id=frames-and-framesets><span class=secno>14.6 </span>Frames and framesets</
<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>
Expand Down Expand Up @@ -95969,6 +95971,16 @@ <h3 id=frames-and-framesets><span class=secno>14.6 </span>Frames and framesets</
<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>


Expand Down Expand Up @@ -96859,8 +96871,9 @@ <h4 id=frames><span class=secno>15.3.3 </span>Frames</h4>
<!-- 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
Expand Down
21 changes: 17 additions & 4 deletions index
Expand Up @@ -95823,8 +95823,8 @@ keygen { binding: <i title="">keygen</i>; }</pre>
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>

Expand All @@ -95833,6 +95833,8 @@ keygen { binding: <i title="">keygen</i>; }</pre>
<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>
Expand Down Expand Up @@ -95969,6 +95971,16 @@ keygen { binding: <i title="">keygen</i>; }</pre>
<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>


Expand Down Expand Up @@ -96859,8 +96871,9 @@ if (s = prompt('What is your name?')) {
<!-- 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
Expand Down
25 changes: 21 additions & 4 deletions source
Expand Up @@ -106625,8 +106625,8 @@ keygen { binding: <i data-x="">keygen</i>; }</pre>
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>

Expand All @@ -106635,6 +106635,8 @@ keygen { binding: <i data-x="">keygen</i>; }</pre>
<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>
Expand Down Expand Up @@ -106795,6 +106797,20 @@ keygen { binding: <i data-x="">keygen</i>; }</pre>
<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>


Expand Down Expand Up @@ -107811,8 +107827,9 @@ if (s = prompt('What is your name?')) {
<!-- 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
Expand Down

0 comments on commit 94938d4

Please sign in to comment.