[html5] r8517 - [giow] (3) Make <iframe scrolling> more Web-compatible. Affected topics: Rendering
whatwg at whatwg.org
whatwg at whatwg.org
Fri Feb 28 15:24:23 PST 2014
Author: ianh
Date: 2014-02-28 15:24:22 -0800 (Fri, 28 Feb 2014)
New Revision: 8517
Modified:
complete.html
index
source
Log:
[giow] (3) Make <iframe scrolling> more Web-compatible.
Affected topics: Rendering
Modified: complete.html
===================================================================
--- complete.html 2014-02-28 00:39:47 UTC (rev 8516)
+++ complete.html 2014-02-28 23:24:22 UTC (rev 8517)
@@ -95508,33 +95508,15 @@
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> has a <a href=#root-element>root element</a>, and the <code><a href=#document>Document</a></code>'s
- <a href=#browsing-context>browsing context</a> is a <a href=#nested-browsing-context>nested browsing context</a>, and the <a href=#browsing-context-container>browsing
+ <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
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=attr-frames-scrolling>scrolling</code> attribute, then the user agent is expected to
- compare the value of the attribute in an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> manner to the values
- in the first column of the following table, and if one of them matches, then the user agent is
- expected to treat that attribute as a <a href=#presentational-hints title="presentational hints">presentational
- hint</a> for the aforementioned root element's 'overflow' property, setting it to the value
- given in the corresponding cell on the same row in the second column:</p>
+ <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
+ user agent is expected to prevent any scroll bars from being shown for the viewport of the
+ <a href=#nested-browsing-context>nested browsing context</a>, regardless of the 'overflow' property that applies to that
+ viewport.</p>
- <table><thead><tr><th> Attribute value
- <th> 'overflow' value
- <tbody><tr><td><code title="">on</code>
- <td>'scroll'
- <tr><td><code title="">scroll</code>
- <td>'scroll'
- <tr><td><code title="">yes</code>
- <td>'scroll'
- <tr><td><code title="">off</code>
- <td>'hidden'
- <tr><td><code title="">noscroll</code>
- <td>'hidden'
- <tr><td><code title="">no</code>
- <td>'hidden'
- <tr><td><code title="">auto</code>
- <td>'auto'
- </table><hr><p>When a <code><a href=#the-body-element>body</a></code> element has a <code title=attr-background><a href=#attr-background>background</a></code>
+ <hr><p>When a <code><a href=#the-body-element>body</a></code> element has a <code title=attr-background><a href=#attr-background>background</a></code>
attribute set to a non-empty value, the new value is expected to be <a href=#resolve-a-url title="resolve a
url">resolved</a> relative to the element, and if this is successful, the user agent is
expected to treat the attribute as a <a href=#presentational-hints title="presentational hints">presentational hint</a>
Modified: index
===================================================================
--- index 2014-02-28 00:39:47 UTC (rev 8516)
+++ index 2014-02-28 23:24:22 UTC (rev 8517)
@@ -95508,33 +95508,15 @@
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> has a <a href=#root-element>root element</a>, and the <code><a href=#document>Document</a></code>'s
- <a href=#browsing-context>browsing context</a> is a <a href=#nested-browsing-context>nested browsing context</a>, and the <a href=#browsing-context-container>browsing
+ <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
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=attr-frames-scrolling>scrolling</code> attribute, then the user agent is expected to
- compare the value of the attribute in an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> manner to the values
- in the first column of the following table, and if one of them matches, then the user agent is
- expected to treat that attribute as a <a href=#presentational-hints title="presentational hints">presentational
- hint</a> for the aforementioned root element's 'overflow' property, setting it to the value
- given in the corresponding cell on the same row in the second column:</p>
+ <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
+ user agent is expected to prevent any scroll bars from being shown for the viewport of the
+ <a href=#nested-browsing-context>nested browsing context</a>, regardless of the 'overflow' property that applies to that
+ viewport.</p>
- <table><thead><tr><th> Attribute value
- <th> 'overflow' value
- <tbody><tr><td><code title="">on</code>
- <td>'scroll'
- <tr><td><code title="">scroll</code>
- <td>'scroll'
- <tr><td><code title="">yes</code>
- <td>'scroll'
- <tr><td><code title="">off</code>
- <td>'hidden'
- <tr><td><code title="">noscroll</code>
- <td>'hidden'
- <tr><td><code title="">no</code>
- <td>'hidden'
- <tr><td><code title="">auto</code>
- <td>'auto'
- </table><hr><p>When a <code><a href=#the-body-element>body</a></code> element has a <code title=attr-background><a href=#attr-background>background</a></code>
+ <hr><p>When a <code><a href=#the-body-element>body</a></code> element has a <code title=attr-background><a href=#attr-background>background</a></code>
attribute set to a non-empty value, the new value is expected to be <a href=#resolve-a-url title="resolve a
url">resolved</a> relative to the element, and if this is successful, the user agent is
expected to treat the attribute as a <a href=#presentational-hints title="presentational hints">presentational hint</a>
Modified: source
===================================================================
--- source 2014-02-28 00:39:47 UTC (rev 8516)
+++ source 2014-02-28 23:24:22 UTC (rev 8517)
@@ -106548,46 +106548,15 @@
<hr>
- <p>If the <code>Document</code> has a <span>root element</span>, and the <code>Document</code>'s
- <span>browsing context</span> is a <span>nested browsing context</span>, and the <span>browsing
+ <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="attr-frames-scrolling">scrolling</code> attribute, then the user agent is expected to
- compare the value of the attribute in an <span>ASCII case-insensitive</span> manner to the values
- in the first column of the following table, and if one of them matches, then the user agent is
- expected to treat that attribute as a <span data-x="presentational hints">presentational
- hint</span> for the aforementioned root element's 'overflow' property, setting it to the value
- given in the corresponding cell on the same row in the second column:</p>
+ <code>iframe</code> element, and that element has a <code data-x="">scrolling</code> attribute,
+ and that attribute's value is an <span>ASCII case-insensitive</span> match for the string "<code
+ data-x="">off</code>", "<code data-x="">noscroll</code>", or "<code data-x="">no</code>", then the
+ user agent is expected to prevent any scroll bars from being shown for the viewport of the
+ <span>nested browsing context</span>, regardless of the 'overflow' property that applies to that
+ viewport.</p>
- <table>
- <thead>
- <tr>
- <th> Attribute value
- <th> 'overflow' value
- <tbody>
- <tr>
- <td><code data-x="">on</code>
- <td>'scroll'
- <tr>
- <td><code data-x="">scroll</code>
- <td>'scroll'
- <tr>
- <td><code data-x="">yes</code>
- <td>'scroll'
- <tr>
- <td><code data-x="">off</code>
- <td>'hidden'
- <tr>
- <td><code data-x="">noscroll</code>
- <td>'hidden'
- <tr>
- <td><code data-x="">no</code>
- <td>'hidden'
- <tr>
- <td><code data-x="">auto</code>
- <td>'auto'
- </table>
-
<hr>
<p>When a <code>body</code> element has a <code data-x="attr-background">background</code>
More information about the Commit-Watchers
mailing list