[html5] r1649 - /
whatwg at whatwg.org
whatwg at whatwg.org
Tue May 20 20:14:47 PDT 2008
Author: ianh
Date: 2008-05-20 20:14:47 -0700 (Tue, 20 May 2008)
New Revision: 1649
Modified:
index
source
Log:
[] (0) Rename the sandbox='' values to be more approachable.
Modified: index
===================================================================
--- index 2008-05-21 01:46:30 UTC (rev 1648)
+++ index 2008-05-21 03:14:47 UTC (rev 1649)
@@ -14271,12 +14271,12 @@
content hosted by the <code><a href="#iframe">iframe</a></code>. Its value
must be an <a href="#unordered">unordered set of unique space-separated
tokens</a>. The allowed values are <code
- title=attr-iframe-sandbox-xxx_origin_please_suggest_a_better_name><a
- href="#xxxoriginpleasesuggestabettername">xxx_origin_please_suggest_a_better_name</a></code>,
- <code title=attr-iframe-sandbox-unrestricted-forms><a
- href="#unrestricted-forms">unrestricted-forms</a></code>, and <code
- title=attr-iframe-sandbox-unrestricted-scripts><a
- href="#unrestricted-scripts">unrestricted-scripts</a></code>.
+ title=attr-iframe-sandbox-allow-same-origin><a
+ href="#allow-same-origin">allow-same-origin</a></code>, <code
+ title=attr-iframe-sandbox-allow-forms><a
+ href="#allow-forms">allow-forms</a></code>, and <code
+ title=attr-iframe-sandbox-allow-scripts><a
+ href="#allow-scripts">allow-scripts</a></code>.
<p>While the <code title=attr-iframe-sandbox><a
href="#sandbox">sandbox</a></code> attribute is specified, the <code><a
@@ -14315,8 +14315,8 @@
unless the <code title=attr-iframe-sandbox><a
href="#sandbox">sandbox</a></code> attribute's value, when <a
href="#split" title="split a string on spaces">split on spaces</a>, is
- found to have the <dfn id=xxxoriginpleasesuggestabettername
- title=attr-iframe-sandbox-xxx_origin_please_suggest_a_better_name><code>xxx_origin_please_suggest_a_better_name</code></dfn>
+ found to have the <dfn id=allow-same-origin
+ title=attr-iframe-sandbox-allow-same-origin><code>allow-same-origin</code></dfn>
keyword set
<dd>
@@ -14325,10 +14325,9 @@
title=origin>same-origin policy</a>.</p>
<div class=note>
- <p>The <code
- title=attr-iframe-sandbox-xxx_origin_please_suggest_a_better_name><a
- href="#xxxoriginpleasesuggestabettername">xxx_origin_please_suggest_a_better_name</a></code>
- attribute is intended for two cases.</p>
+ <p>The <code title=attr-iframe-sandbox-allow-same-origin><a
+ href="#allow-same-origin">allow-same-origin</a></code> attribute is
+ intended for two cases.</p>
<p>First, it can be used to allow content from the same site to be
sandboxed to disable scripting, while still allowing access to the DOM
@@ -14340,16 +14339,12 @@
site, using the database APIs to store data, etc.</p>
</div>
- <p class=big-issue>Please don't implement this keyword using the name
- "xxx_origin_please_suggest_a_better_name" -- please suggest a better
- name first!</p>
-
<dt>The <dfn id=sandboxed2>sandboxed forms browsing context flag</dfn>,
unless the <code title=attr-iframe-sandbox><a
href="#sandbox">sandbox</a></code> attribute's value, when <a
href="#split" title="split a string on spaces">split on spaces</a>, is
- found to have the <dfn id=unrestricted-forms
- title=attr-iframe-sandbox-unrestricted-forms><code>unrestricted-forms</code></dfn>
+ found to have the <dfn id=allow-forms
+ title=attr-iframe-sandbox-allow-forms><code>allow-forms</code></dfn>
keyword set
<dd>
@@ -14359,8 +14354,8 @@
unless the <code title=attr-iframe-sandbox><a
href="#sandbox">sandbox</a></code> attribute's value, when <a
href="#split" title="split a string on spaces">split on spaces</a>, is
- found to have the <dfn id=unrestricted-scripts
- title=attr-iframe-sandbox-unrestricted-scripts><code>unrestricted-scripts</code></dfn>
+ found to have the <dfn id=allow-scripts
+ title=attr-iframe-sandbox-allow-scripts><code>allow-scripts</code></dfn>
keyword set
<dd>
Modified: source
===================================================================
--- source 2008-05-21 01:46:30 UTC (rev 1648)
+++ source 2008-05-21 03:14:47 UTC (rev 1649)
@@ -12287,11 +12287,11 @@
any content hosted by the <code>iframe</code>. Its value must be an
<span>unordered set of unique space-separated tokens</span>. The
allowed values are <code
- title="attr-iframe-sandbox-xxx_origin_please_suggest_a_better_name">xxx_origin_please_suggest_a_better_name</code>,
+ title="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>,
<code
- title="attr-iframe-sandbox-unrestricted-forms">unrestricted-forms</code>,
+ title="attr-iframe-sandbox-allow-forms">allow-forms</code>,
and <code
- title="attr-iframe-sandbox-unrestricted-scripts">unrestricted-scripts</code>.</p>
+ title="attr-iframe-sandbox-allow-scripts">allow-scripts</code>.</p>
<p>While the <code title="attr-iframe-sandbox">sandbox</code>
attribute is specified, the <code>iframe</code> element's
@@ -12338,7 +12338,7 @@
the <code title="attr-iframe-sandbox">sandbox</code> attribute's
value, when <span title="split a string on spaces">split on
spaces</span>, is found to have the <dfn
- title="attr-iframe-sandbox-xxx_origin_please_suggest_a_better_name"><code>xxx_origin_please_suggest_a_better_name</code></dfn>
+ title="attr-iframe-sandbox-allow-same-origin"><code>allow-same-origin</code></dfn>
keyword set</dt>
<dd>
@@ -12350,7 +12350,7 @@
<div class="note">
<p>The <code
- title="attr-iframe-sandbox-xxx_origin_please_suggest_a_better_name">xxx_origin_please_suggest_a_better_name</code>
+ title="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>
attribute is intended for two cases.</p>
<p>First, it can be used to allow content from the same site to
@@ -12365,10 +12365,6 @@
</div>
- <p class="big-issue">Please don't implement this keyword using the
- name "xxx_origin_please_suggest_a_better_name" -- please suggest a
- better name first!</p>
-
</dd>
@@ -12376,7 +12372,7 @@
the <code title="attr-iframe-sandbox">sandbox</code> attribute's
value, when <span title="split a string on spaces">split on
spaces</span>, is found to have the <dfn
- title="attr-iframe-sandbox-unrestricted-forms"><code>unrestricted-forms</code></dfn>
+ title="attr-iframe-sandbox-allow-forms"><code>allow-forms</code></dfn>
keyword set</dt>
<dd>
@@ -12391,7 +12387,7 @@
the <code title="attr-iframe-sandbox">sandbox</code> attribute's
value, when <span title="split a string on spaces">split on
spaces</span>, is found to have the <dfn
- title="attr-iframe-sandbox-unrestricted-scripts"><code>unrestricted-scripts</code></dfn>
+ title="attr-iframe-sandbox-allow-scripts"><code>allow-scripts</code></dfn>
keyword set</dt>
<dd>
More information about the Commit-Watchers
mailing list