[html5] r7351 - [e] (0) (This should have no normative effect.) Prepare the spec for fullscreen. [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Sep 15 11:30:01 PDT 2012


Author: ianh
Date: 2012-09-15 11:30:00 -0700 (Sat, 15 Sep 2012)
New Revision: 7351

Modified:
   complete.html
   index
   source
Log:
[e] (0) (This should have no normative effect.) Prepare the spec for fullscreen.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18840
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-09-15 18:08:08 UTC (rev 7350)
+++ complete.html	2012-09-15 18:30:00 UTC (rev 7351)
@@ -70780,60 +70780,64 @@
 
     <p><dfn id=create-a-document-object title="create a Document object">Creating a new
     <code>Document</code> object</dfn>: when a <code><a href=#document>Document</a></code>
-    is created as part of the above steps, the user agent has a couple
-    of additional requirements to follow as part of creating the new
-    object:</p>
+    is created as part of the above steps, the user agent must
+    additionally run the following algorithm as part of creating the
+    new object:</p>
 
-    <p>First, a new <code><a href=#window>Window</a></code> object must be created and
-    associated with the <code><a href=#document>Document</a></code>, with one exception: if
-    the <a href=#browsing-context>browsing context</a>'s only entry in its
-    <a href=#session-history>session history</a> is the <code><a href=#about:blank>about:blank</a></code>
-    <code><a href=#document>Document</a></code> that was added when the <a href=#browsing-context>browsing
-    context</a> was created, and navigation is occurring with
-    <a href=#replacement-enabled>replacement enabled</a>, and that <code><a href=#document>Document</a></code>
-    has the <a href=#same-origin>same origin</a> as the new <code><a href=#document>Document</a></code>,
-    then the <code><a href=#window>Window</a></code> object of that <code><a href=#document>Document</a></code>
-    must be used instead, and the <code title=dom-document><a href=#dom-document-0>document</a></code> attribute of the
-    <code><a href=#window>Window</a></code> object must be changed to point to the new
-    <code><a href=#document>Document</a></code> instead.</p>
+    <ol><li><p>Create a new <code><a href=#window>Window</a></code> object, and associate it
+     with the <code><a href=#document>Document</a></code>, with one exception: if the
+     <a href=#browsing-context>browsing context</a>'s only entry in its <a href=#session-history>session
+     history</a> is the <code><a href=#about:blank>about:blank</a></code>
+     <code><a href=#document>Document</a></code> that was added when the <a href=#browsing-context>browsing
+     context</a> was created, and navigation is occurring with
+     <a href=#replacement-enabled>replacement enabled</a>, and that <code><a href=#document>Document</a></code>
+     has the <a href=#same-origin>same origin</a> as the new
+     <code><a href=#document>Document</a></code>, then use the <code><a href=#window>Window</a></code> object of
+     that <code><a href=#document>Document</a></code> instead, and change the <code title=dom-document><a href=#dom-document-0>document</a></code> attribute of the
+     <code><a href=#window>Window</a></code> object to point to the new
+     <code><a href=#document>Document</a></code>.</p>
 
-    <p>Second, the <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing
-    flag set</a> must be populated with the union of the flags that
-    are present in the following <a href=#sandboxing-flag-set title="sandboxing flag
-    set">sandboxing flag sets</a> at the time the
-    <code><a href=#document>Document</a></code> object is created:</p>
+     <li>
 
-    <ul><li><p>If the <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing
-     context</a> is a <a href=#top-level-browsing-context>top-level browsing context</a>,
-     then: the flags set on the <a href=#browsing-context>browsing context</a>'s
-     <a href=#popup-sandboxing-flag-set>popup sandboxing flag set</a>.</li>
+      <p>Populate <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag
+      set</a> with the union of the flags that are present in the
+      following <a href=#sandboxing-flag-set title="sandboxing flag set">sandboxing flag
+      sets</a> at the time the <code><a href=#document>Document</a></code> object is
+      created:</p>
 
-     <li><p>If 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>, then:
-     the flags set on the <a href=#browsing-context>browsing context</a>'s
-     <a href=#iframe-sandboxing-flag-set><code>iframe</code> sandboxing flag set</a>.</li>
+      <ul><li><p>If the <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing
+       context</a> is a <a href=#top-level-browsing-context>top-level browsing context</a>,
+       then: the flags set on the <a href=#browsing-context>browsing context</a>'s
+       <a href=#popup-sandboxing-flag-set>popup sandboxing flag set</a>.</li>
 
-     <li><p>If 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>, then:
-     the flags set on the <a href=#browsing-context>browsing context</a>'s <a href=#parent-browsing-context>parent
-     browsing context</a>'s <a href=#active-document>active document</a>'s
-     <a href=#active-sandboxing-flag-set>active sandboxing flag set</a>.</li>
+       <li><p>If 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>, then:
+       the flags set on the <a href=#browsing-context>browsing context</a>'s
+       <a href=#iframe-sandboxing-flag-set><code>iframe</code> sandboxing flag set</a>.</li>
 
-     <li><p>The flags set on the resource's <a href=#forced-sandboxing-flag-set>forced sandboxing
-     flag set</a>.</li>
+       <li><p>If 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>, then:
+       the flags set on the <a href=#browsing-context>browsing context</a>'s <a href=#parent-browsing-context>parent
+       browsing context</a>'s <a href=#active-document>active document</a>'s
+       <a href=#active-sandboxing-flag-set>active sandboxing flag set</a>.</li>
 
-    </ul><p>Each resource obtained by this <a href=#navigate title=navigate>navigation algorithm</a> has a <dfn id=forced-sandboxing-flag-set> forced
-    sandboxing flag set</dfn>, which is a <a href=#sandboxing-flag-set>sandboxing flag
-    set</a>. A resource by default has no flags set in its
-    <a href=#forced-sandboxing-flag-set>forced sandboxing flag set</a>, but other specifications
-    can define that certain flags are set.</p>
+       <li><p>The flags set on the resource's <a href=#forced-sandboxing-flag-set>forced sandboxing
+       flag set</a>.</li>
 
-    <p class=note>In particular, the <a href=#forced-sandboxing-flag-set>forced sandboxing flag
-    set</a> is used by the Content Security Policy specification.
-    <a href=#refsCSP>[CSP]</a></p>
+      </ul><p>Each resource obtained by this <a href=#navigate title=navigate>navigation algorithm</a> has a <dfn id=forced-sandboxing-flag-set>forced
+      sandboxing flag set</dfn>, which is a <a href=#sandboxing-flag-set>sandboxing flag
+      set</a>. A resource by default has no flags set in its
+      <a href=#forced-sandboxing-flag-set>forced sandboxing flag set</a>, but other
+      specifications can define that certain flags are set.</p>
 
-   </li>
+      <p class=note>In particular, the <a href=#forced-sandboxing-flag-set>forced sandboxing flag
+      set</a> is used by the Content Security Policy specification.
+      <a href=#refsCSP>[CSP]</a></p>
 
+     </li>
+
+    </ol></li>
+
    <li id=navigate-non-Document>
 
     <p><i>Non-document content</i>: If, given <var title="">type</var>, the new resource is to be handled by

Modified: index
===================================================================
--- index	2012-09-15 18:08:08 UTC (rev 7350)
+++ index	2012-09-15 18:30:00 UTC (rev 7351)
@@ -70780,60 +70780,64 @@
 
     <p><dfn id=create-a-document-object title="create a Document object">Creating a new
     <code>Document</code> object</dfn>: when a <code><a href=#document>Document</a></code>
-    is created as part of the above steps, the user agent has a couple
-    of additional requirements to follow as part of creating the new
-    object:</p>
+    is created as part of the above steps, the user agent must
+    additionally run the following algorithm as part of creating the
+    new object:</p>
 
-    <p>First, a new <code><a href=#window>Window</a></code> object must be created and
-    associated with the <code><a href=#document>Document</a></code>, with one exception: if
-    the <a href=#browsing-context>browsing context</a>'s only entry in its
-    <a href=#session-history>session history</a> is the <code><a href=#about:blank>about:blank</a></code>
-    <code><a href=#document>Document</a></code> that was added when the <a href=#browsing-context>browsing
-    context</a> was created, and navigation is occurring with
-    <a href=#replacement-enabled>replacement enabled</a>, and that <code><a href=#document>Document</a></code>
-    has the <a href=#same-origin>same origin</a> as the new <code><a href=#document>Document</a></code>,
-    then the <code><a href=#window>Window</a></code> object of that <code><a href=#document>Document</a></code>
-    must be used instead, and the <code title=dom-document><a href=#dom-document-0>document</a></code> attribute of the
-    <code><a href=#window>Window</a></code> object must be changed to point to the new
-    <code><a href=#document>Document</a></code> instead.</p>
+    <ol><li><p>Create a new <code><a href=#window>Window</a></code> object, and associate it
+     with the <code><a href=#document>Document</a></code>, with one exception: if the
+     <a href=#browsing-context>browsing context</a>'s only entry in its <a href=#session-history>session
+     history</a> is the <code><a href=#about:blank>about:blank</a></code>
+     <code><a href=#document>Document</a></code> that was added when the <a href=#browsing-context>browsing
+     context</a> was created, and navigation is occurring with
+     <a href=#replacement-enabled>replacement enabled</a>, and that <code><a href=#document>Document</a></code>
+     has the <a href=#same-origin>same origin</a> as the new
+     <code><a href=#document>Document</a></code>, then use the <code><a href=#window>Window</a></code> object of
+     that <code><a href=#document>Document</a></code> instead, and change the <code title=dom-document><a href=#dom-document-0>document</a></code> attribute of the
+     <code><a href=#window>Window</a></code> object to point to the new
+     <code><a href=#document>Document</a></code>.</p>
 
-    <p>Second, the <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing
-    flag set</a> must be populated with the union of the flags that
-    are present in the following <a href=#sandboxing-flag-set title="sandboxing flag
-    set">sandboxing flag sets</a> at the time the
-    <code><a href=#document>Document</a></code> object is created:</p>
+     <li>
 
-    <ul><li><p>If the <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing
-     context</a> is a <a href=#top-level-browsing-context>top-level browsing context</a>,
-     then: the flags set on the <a href=#browsing-context>browsing context</a>'s
-     <a href=#popup-sandboxing-flag-set>popup sandboxing flag set</a>.</li>
+      <p>Populate <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag
+      set</a> with the union of the flags that are present in the
+      following <a href=#sandboxing-flag-set title="sandboxing flag set">sandboxing flag
+      sets</a> at the time the <code><a href=#document>Document</a></code> object is
+      created:</p>
 
-     <li><p>If 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>, then:
-     the flags set on the <a href=#browsing-context>browsing context</a>'s
-     <a href=#iframe-sandboxing-flag-set><code>iframe</code> sandboxing flag set</a>.</li>
+      <ul><li><p>If the <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing
+       context</a> is a <a href=#top-level-browsing-context>top-level browsing context</a>,
+       then: the flags set on the <a href=#browsing-context>browsing context</a>'s
+       <a href=#popup-sandboxing-flag-set>popup sandboxing flag set</a>.</li>
 
-     <li><p>If 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>, then:
-     the flags set on the <a href=#browsing-context>browsing context</a>'s <a href=#parent-browsing-context>parent
-     browsing context</a>'s <a href=#active-document>active document</a>'s
-     <a href=#active-sandboxing-flag-set>active sandboxing flag set</a>.</li>
+       <li><p>If 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>, then:
+       the flags set on the <a href=#browsing-context>browsing context</a>'s
+       <a href=#iframe-sandboxing-flag-set><code>iframe</code> sandboxing flag set</a>.</li>
 
-     <li><p>The flags set on the resource's <a href=#forced-sandboxing-flag-set>forced sandboxing
-     flag set</a>.</li>
+       <li><p>If 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>, then:
+       the flags set on the <a href=#browsing-context>browsing context</a>'s <a href=#parent-browsing-context>parent
+       browsing context</a>'s <a href=#active-document>active document</a>'s
+       <a href=#active-sandboxing-flag-set>active sandboxing flag set</a>.</li>
 
-    </ul><p>Each resource obtained by this <a href=#navigate title=navigate>navigation algorithm</a> has a <dfn id=forced-sandboxing-flag-set> forced
-    sandboxing flag set</dfn>, which is a <a href=#sandboxing-flag-set>sandboxing flag
-    set</a>. A resource by default has no flags set in its
-    <a href=#forced-sandboxing-flag-set>forced sandboxing flag set</a>, but other specifications
-    can define that certain flags are set.</p>
+       <li><p>The flags set on the resource's <a href=#forced-sandboxing-flag-set>forced sandboxing
+       flag set</a>.</li>
 
-    <p class=note>In particular, the <a href=#forced-sandboxing-flag-set>forced sandboxing flag
-    set</a> is used by the Content Security Policy specification.
-    <a href=#refsCSP>[CSP]</a></p>
+      </ul><p>Each resource obtained by this <a href=#navigate title=navigate>navigation algorithm</a> has a <dfn id=forced-sandboxing-flag-set>forced
+      sandboxing flag set</dfn>, which is a <a href=#sandboxing-flag-set>sandboxing flag
+      set</a>. A resource by default has no flags set in its
+      <a href=#forced-sandboxing-flag-set>forced sandboxing flag set</a>, but other
+      specifications can define that certain flags are set.</p>
 
-   </li>
+      <p class=note>In particular, the <a href=#forced-sandboxing-flag-set>forced sandboxing flag
+      set</a> is used by the Content Security Policy specification.
+      <a href=#refsCSP>[CSP]</a></p>
 
+     </li>
+
+    </ol></li>
+
    <li id=navigate-non-Document>
 
     <p><i>Non-document content</i>: If, given <var title="">type</var>, the new resource is to be handled by

Modified: source
===================================================================
--- source	2012-09-15 18:08:08 UTC (rev 7350)
+++ source	2012-09-15 18:30:00 UTC (rev 7351)
@@ -82732,64 +82732,72 @@
 
     <p><dfn title="create a Document object">Creating a new
     <code>Document</code> object</dfn>: when a <code>Document</code>
-    is created as part of the above steps, the user agent has a couple
-    of additional requirements to follow as part of creating the new
-    object:</p>
+    is created as part of the above steps, the user agent must
+    additionally run the following algorithm as part of creating the
+    new object:</p>
 
-    <p>First, a new <code>Window</code> object must be created and
-    associated with the <code>Document</code>, with one exception: if
-    the <span>browsing context</span>'s only entry in its
-    <span>session history</span> is the <code>about:blank</code>
-    <code>Document</code> that was added when the <span>browsing
-    context</span> was created, and navigation is occurring with
-    <span>replacement enabled</span>, and that <code>Document</code>
-    has the <span>same origin</span> as the new <code>Document</code>,
-    then the <code>Window</code> object of that <code>Document</code>
-    must be used instead, and the <code
-    title="dom-document">document</code> attribute of the
-    <code>Window</code> object must be changed to point to the new
-    <code>Document</code> instead.</p>
+    <ol>
 
-    <p>Second, the <code>Document</code>'s <span>active sandboxing
-    flag set</span> must be populated with the union of the flags that
-    are present in the following <span title="sandboxing flag
-    set">sandboxing flag sets</span> at the time the
-    <code>Document</code> object is created:</p>
+     <li><p>Create a new <code>Window</code> object, and associate it
+     with the <code>Document</code>, with one exception: if the
+     <span>browsing context</span>'s only entry in its <span>session
+     history</span> is the <code>about:blank</code>
+     <code>Document</code> that was added when the <span>browsing
+     context</span> was created, and navigation is occurring with
+     <span>replacement enabled</span>, and that <code>Document</code>
+     has the <span>same origin</span> as the new
+     <code>Document</code>, then use the <code>Window</code> object of
+     that <code>Document</code> instead, and change the <code
+     title="dom-document">document</code> attribute of the
+     <code>Window</code> object to point to the new
+     <code>Document</code>.</p>
 
-    <ul>
+     <li>
 
-     <li><p>If the <code>Document</code>'s <span>browsing
-     context</span> is a <span>top-level browsing context</span>,
-     then: the flags set on the <span>browsing context</span>'s
-     <span>popup sandboxing flag set</span>.</p></li>
+      <p>Populate <code>Document</code>'s <span>active sandboxing flag
+      set</span> with the union of the flags that are present in the
+      following <span title="sandboxing flag set">sandboxing flag
+      sets</span> at the time the <code>Document</code> object is
+      created:</p>
 
-     <li><p>If the <code>Document</code>'s <span>browsing
-     context</span> is a <span>nested browsing context</span>, then:
-     the flags set on the <span>browsing context</span>'s
-     <span><code>iframe</code> sandboxing flag set</span>.</p></li>
+      <ul>
 
-     <li><p>If the <code>Document</code>'s <span>browsing
-     context</span> is a <span>nested browsing context</span>, then:
-     the flags set on the <span>browsing context</span>'s <span>parent
-     browsing context</span>'s <span>active document</span>'s
-     <span>active sandboxing flag set</span>.</p></li>
+       <li><p>If the <code>Document</code>'s <span>browsing
+       context</span> is a <span>top-level browsing context</span>,
+       then: the flags set on the <span>browsing context</span>'s
+       <span>popup sandboxing flag set</span>.</p></li>
 
-     <li><p>The flags set on the resource's <span>forced sandboxing
-     flag set</span>.</p></li>
+       <li><p>If the <code>Document</code>'s <span>browsing
+       context</span> is a <span>nested browsing context</span>, then:
+       the flags set on the <span>browsing context</span>'s
+       <span><code>iframe</code> sandboxing flag set</span>.</p></li>
 
-    </ul>
+       <li><p>If the <code>Document</code>'s <span>browsing
+       context</span> is a <span>nested browsing context</span>, then:
+       the flags set on the <span>browsing context</span>'s <span>parent
+       browsing context</span>'s <span>active document</span>'s
+       <span>active sandboxing flag set</span>.</p></li>
 
-    <p>Each resource obtained by this <span
-    title="navigate">navigation algorithm</span> has a <dfn> forced
-    sandboxing flag set</dfn>, which is a <span>sandboxing flag
-    set</span>. A resource by default has no flags set in its
-    <span>forced sandboxing flag set</span>, but other specifications
-    can define that certain flags are set.</p>
+       <li><p>The flags set on the resource's <span>forced sandboxing
+       flag set</span>.</p></li>
 
-    <p class="note">In particular, the <span>forced sandboxing flag
-    set</span> is used by the Content Security Policy specification.
-    <a href="#refsCSP">[CSP]</a></p>
+      </ul>
 
+      <p>Each resource obtained by this <span
+      title="navigate">navigation algorithm</span> has a <dfn>forced
+      sandboxing flag set</dfn>, which is a <span>sandboxing flag
+      set</span>. A resource by default has no flags set in its
+      <span>forced sandboxing flag set</span>, but other
+      specifications can define that certain flags are set.</p>
+
+      <p class="note">In particular, the <span>forced sandboxing flag
+      set</span> is used by the Content Security Policy specification.
+      <a href="#refsCSP">[CSP]</a></p>
+
+     </li>
+
+    </ol>
+
    </li>
 
    <li id="navigate-non-Document">




More information about the Commit-Watchers mailing list