[html5] r7564 - [giow] (1) Fullscreen integration. Fixing https://www.w3.org/Bugs/Public/show_bu [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Dec 4 21:16:54 PST 2012


Author: ianh
Date: 2012-12-04 21:16:53 -0800 (Tue, 04 Dec 2012)
New Revision: 7564

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Fullscreen integration.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18840
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2012-12-05 00:19:19 UTC (rev 7563)
+++ complete.html	2012-12-05 05:16:53 UTC (rev 7564)
@@ -4131,9 +4131,17 @@
     <a href=#refsUNDO>[UNDO]</a>
     </p>
 
-   </dd>
+    <p>The following parts of the Fullscreen specification are referenced from this specification,
+    in part to define the rendering of <code><a href=#the-dialog-element>dialog</a></code> elements, and also to define how the
+    Fullscreen API interacts with the sandboxing features in HTML: <a href=#refsFULLSCREEN>[FULLSCREEN]</a></p>
 
+    <ul class=brief><li>The <dfn id=top-layer>top layer</dfn> concept</li>
+     <li><dfn id=dom-element-requestfullscreen title=dom-element-requestFullScreen><code>requestFullScreen()</code></dfn>
+     <li>The <dfn id=fullscreen-enabled-flag>fullscreen enabled flag</dfn></li>
+     <li>The <dfn id=fully-exit-fullscreen>fully exit fullscreen</dfn> algorithm</li>
+    </ul></dd>
 
+
    <dt>Typed Arrays</dt>
 
    <dd>
@@ -4243,11 +4251,7 @@
      <li><dfn id=alternative-style-sheet-sets>Alternative style sheet sets</dfn> and the <dfn id=preferred-style-sheet-set>preferred style sheet set</dfn></li>
      <li><dfn id=serializing-a-css-value>Serializing a CSS value</dfn></li>
      <li><dfn id=scroll-an-element-into-view>Scroll an element into view</dfn></li>
-    </ul><p>Parts of the Fullscreen specification, in particular the
-    <dfn id=top-layer>top layer</dfn> concept, are used to define the rendering of
-    the <code><a href=#the-dialog-element>dialog</a></code> element. <a href=#refsFULLSCREEN>[FULLSCREEN]</a>
-
-    <p>The term <dfn id=css-styling-attribute>CSS styling attribute</dfn> is defined in the
+    </ul><p>The term <dfn id=css-styling-attribute>CSS styling attribute</dfn> is defined in the
     <cite>CSS Style Attributes</cite> specification. <a href=#refsCSSATTR>[CSSATTR]</a></p>
 
     <p>The <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's use of fonts depends on the features
@@ -17215,6 +17219,8 @@
    <dd><code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code></dd>
    <dd><code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code></dd>
    <dd><code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code></dd>
+   <dd><code title=handler-window-onfullscreenchange><a href=#handler-window-onfullscreenchange>onfullscreenchange</a></code></dd>
+   <dd><code title=handler-window-onfullscreenerror><a href=#handler-window-onfullscreenerror>onfullscreenerror</a></code></dd>
    <dd><code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code></dd>
    <dd><code title=handler-window-onload><a href=#handler-window-onload>onload</a></code></dd>
    <dd><code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code></dd>
@@ -17236,6 +17242,8 @@
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
            attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
@@ -25770,6 +25778,7 @@
    <dd><code title=attr-iframe-name><a href=#attr-iframe-name>name</a></code></dd>
    <dd><code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code></dd>
    <dd><code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code></dd>
+   <dd><code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code></dd>
    <dd><code title=attr-dim-width><a href=#attr-dim-width>width</a></code></dd>
    <dd><code title=attr-dim-height><a href=#attr-dim-height>height</a></code></dd>
    <dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
@@ -25780,6 +25789,7 @@
            attribute DOMString <a href=#dom-iframe-name title=dom-iframe-name>name</a>;
   [PutForwards=<span title=dom-DOMSettableTokenList-value>value</span>] readonly attribute <a href=#domsettabletokenlist>DOMSettableTokenList</a> <a href=#dom-iframe-sandbox title=dom-iframe-sandbox>sandbox</a>;
            attribute boolean <a href=#dom-iframe-seamless title=dom-iframe-seamless>seamless</a>;
+           attribute boolean <a href=#dom-iframe-allowfullscreen title=dom-iframe-allowFullscreen>allowFullscreen</a>;
            attribute DOMString <a href=#dom-dim-width title=dom-dim-width>width</a>;
            attribute DOMString <a href=#dom-dim-height title=dom-dim-height>height</a>;
   readonly attribute Document? <a href=#dom-iframe-contentdocument title=dom-iframe-contentDocument>contentDocument</a>;
@@ -26027,7 +26037,7 @@
   <hr><!-- SANDBOX --><p>The <dfn id=attr-iframe-sandbox title=attr-iframe-sandbox><code>sandbox</code></dfn> attribute, when specified,
   enables a set of extra restrictions on any content hosted by the <code><a href=#the-iframe-element>iframe</a></code>. Its value
   must be an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a> that are <a href=#ascii-case-insensitive>ASCII
-  case-insensitive</a>. The allowed values are <code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>, <code title=attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</code>, <code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code>, <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>, <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code>, and <code title=attr-iframe-sandbox-allow-top-navigation><a href=#attr-iframe-sandbox-allow-top-navigation>allow-top-navigation</a></code>.</p>
+  case-insensitive</a>. The allowed values are <code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>, <code title=attr-iframe-sandbox-allow-pointer-lock><a href=#attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</a></code>, <code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code>, <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>, <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code>, and <code title=attr-iframe-sandbox-allow-top-navigation><a href=#attr-iframe-sandbox-allow-top-navigation>allow-top-navigation</a></code>.</p>
 
   <p>When the attribute is set, the content is treated as being from a unique <a href=#origin>origin</a>,
   forms, scripts, and various potentially annoying APIs are disabled, links are prevented from
@@ -26036,7 +26046,7 @@
   the content to be treated as being from the same origin instead of forcing it into a unique
   origin; the <code title=attr-iframe-sandbox-allow-top-navigation><a href=#attr-iframe-sandbox-allow-top-navigation>allow-top-navigation</a></code>
   keyword allows the content to <a href=#navigate>navigate</a> its <a href=#top-level-browsing-context>top-level browsing context</a>;
-  and the <code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>, <code title=attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</code>, <code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code> and <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code> keywords re-enable forms, the
+  and the <code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>, <code title=attr-iframe-sandbox-allow-pointer-lock><a href=#attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</a></code>, <code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code> and <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code> keywords re-enable forms, the
   pointer lock API, popups, and scripts respectively. <a href=#refsPOINTERLOCK>[POINTERLOCK]</a></p>
 
   <p class=warning>Setting both the <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code> and <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code> keywords together when the
@@ -26072,8 +26082,10 @@
   <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code> is created), and when an <code><a href=#the-iframe-element>iframe</a></code>
   element's <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code> attribute is set or changed while it
   has a <a href=#nested-browsing-context>nested browsing context</a>, the user agent must <a href=#parse-a-sandboxing-directive title="parse a sandboxing
-  directive">parse the sandboxing directive</a> using the attribute's value as the <var title="">input</var> and the <code><a href=#the-iframe-element>iframe</a></code> element's <a href=#nested-browsing-context>nested browsing context</a>'s
-  <a href=#iframe-sandboxing-flag-set><code>iframe</code> sandboxing flag set</a> as the output.</p>
+  directive">parse the sandboxing directive</a> using the attribute's value as the <var title="">input</var>, the <code><a href=#the-iframe-element>iframe</a></code> element's <a href=#nested-browsing-context>nested browsing context</a>'s
+  <a href=#iframe-sandboxing-flag-set><code>iframe</code> sandboxing flag set</a> as the output, and, if the
+  <code><a href=#the-iframe-element>iframe</a></code> has an <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code>
+  attribute, the <var title="">allow fullscreen flag</var>.</p>
 
   <p>When an <code><a href=#the-iframe-element>iframe</a></code> element's <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code>
   attribute is removed while it has a <a href=#nested-browsing-context>nested browsing context</a>, the user agent must
@@ -26145,8 +26157,7 @@
   </div>
 
 
-  <hr><!-- SEAMLESS --><!-- v2: Might be interesting to have a value on seamless that allowed event propagation of some
-  sort, maybe based on the WICD work: http://www.w3.org/TR/WICD/ --><p>The <dfn id=attr-iframe-seamless title=attr-iframe-seamless><code>seamless</code></dfn> attribute is a <a href=#boolean-attribute>boolean
+  <hr><!-- SEAMLESS --><p>The <dfn id=attr-iframe-seamless title=attr-iframe-seamless><code>seamless</code></dfn> attribute is a <a href=#boolean-attribute>boolean
   attribute</a>. When specified, it indicates that the <code><a href=#the-iframe-element>iframe</a></code> element's
   <a href=#browsing-context>browsing context</a> is to be rendered in a manner that makes it appear to be part of the
   containing document (seamlessly included in the parent document).</p>
@@ -26284,6 +26295,12 @@
   propagate into <code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code> <code><a href=#the-iframe-element>iframe</a></code>s.</p>
 
 
+  <hr><!-- FULLSCREEN --><p>The <dfn id=attr-iframe-allowfullscreen title=attr-iframe-allowfullscreen><code>allowfullscreen</code></dfn> attribute is a
+  <a href=#boolean-attribute>boolean attribute</a>. When specified, it indicates that <code><a href=#document>Document</a></code> objects in
+  the <code><a href=#the-iframe-element>iframe</a></code> element's <a href=#browsing-context>browsing context</a> are to be allowed to use <code title=dom-element-requestFullScreen><a href=#dom-element-requestfullscreen>requestFullScreen()</a></code> (if it's not blocked for other
+  reasons, e.g. there is another ancestor <code><a href=#the-iframe-element>iframe</a></code> without this attribute set).</p>
+
+
   <hr><!-- DIM ATTRIBUTES --><p>The <code><a href=#the-iframe-element>iframe</a></code> element supports <a href=#dimension-attributes>dimension attributes</a> for cases where the
   embedded content has specific dimensions (e.g. ad units have well-defined dimensions).</p>
 
@@ -26314,6 +26331,10 @@
   <hr><!-- DOM --><p>The IDL attributes <dfn id=dom-iframe-src title=dom-iframe-src><code>src</code></dfn>, <dfn id=dom-iframe-srcdoc title=dom-iframe-srcdoc><code>srcdoc</code></dfn>, <dfn id=dom-iframe-name title=dom-iframe-name><code>name</code></dfn>, <dfn id=dom-iframe-sandbox title=dom-iframe-sandbox><code>sandbox</code></dfn>, and <dfn id=dom-iframe-seamless title=dom-iframe-seamless><code>seamless</code></dfn> must <a href=#reflect>reflect</a> the respective
   content attributes of the same name.</p>
 
+  <p>The <dfn id=dom-iframe-allowfullscreen title=dom-iframe-allowFullscreen><code>allowFullscreen</code></dfn> IDL attribute
+  must <a href=#reflect>reflect</a> the <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code>
+  content attribute.</p>
+
   <p>The <dfn id=dom-iframe-contentdocument title=dom-iframe-contentDocument><code>contentDocument</code></dfn> IDL attribute
   must return the <code><a href=#document>Document</a></code> object of the <a href=#active-document>active document</a> of the
   <code><a href=#the-iframe-element>iframe</a></code> element's <a href=#nested-browsing-context>nested browsing context</a>, if any, or null otherwise.</p>
@@ -66200,6 +66221,8 @@
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
            attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
@@ -67682,9 +67705,18 @@
 
    </dd>
 
-  </dl><p>When the user agent is to <dfn id=parse-a-sandboxing-directive>parse a sandboxing directive</dfn>, given a string <var title="">input</var> and a <a href=#sandboxing-flag-set>sandboxing flag set</a> <var title="">output</var>, it must
-  run the following steps:</p>
 
+   <dt>The <dfn id=sandboxed-fullscreen-browsing-context-flag>sandboxed fullscreen browsing context flag</dfn></dt>
+
+   <dd>
+
+    <p>This flag prevents content from using the <code title=dom-element-requestFullScreen><a href=#dom-element-requestfullscreen>requestFullScreen()</a></code> method.</p>
+
+   </dd>
+
+  </dl><p>When the user agent is to <dfn id=parse-a-sandboxing-directive>parse a sandboxing directive</dfn>, given a string <var title="">input</var>, a <a href=#sandboxing-flag-set>sandboxing flag set</a> <var title="">output</var>, and
+  optionally an <var title="">allow fullscreen flag</var>, it must run the following steps:</p>
+
   <ol><li><p><a href=#split-a-string-on-spaces title="split a string on spaces">Split <var title="">input</var> on spaces</a>, to obtain <var title="">tokens</var>.</li>
 
    <li><p>Let <var title="">output</var> be empty.</li>
@@ -67727,7 +67759,7 @@
 
      <li><p>The <a href=#sandboxed-forms-browsing-context-flag>sandboxed forms browsing context flag</a>, unless <var title="">tokens</var> contains the <dfn id=attr-iframe-sandbox-allow-forms title=attr-iframe-sandbox-allow-forms><code>allow-forms</code></dfn> keyword.</li>
 
-     <li><p>The <a href=#sandboxed-pointer-lock-browsing-context-flag>sandboxed pointer lock browsing context flag</a>, unless <var title="">tokens</var> contains the <dfn id=attr-iframe-sandbox-pointer-lock title=attr-iframe-sandbox-pointer-lock><code>allow-pointer-lock</code></dfn>
+     <li><p>The <a href=#sandboxed-pointer-lock-browsing-context-flag>sandboxed pointer lock browsing context flag</a>, unless <var title="">tokens</var> contains the <dfn id=attr-iframe-sandbox-allow-pointer-lock title=attr-iframe-sandbox-allow-pointer-lock><code>allow-pointer-lock</code></dfn>
      keyword.</li>
 
      <li><p>The <a href=#sandboxed-scripts-browsing-context-flag>sandboxed scripts browsing context flag</a>, unless <var title="">tokens</var> contains the <dfn id=attr-iframe-sandbox-allow-scripts title=attr-iframe-sandbox-allow-scripts><code>allow-scripts</code></dfn> keyword.</li>
@@ -67743,6 +67775,9 @@
 
      </li>
 
+     <li><p>The <a href=#sandboxed-fullscreen-browsing-context-flag>sandboxed fullscreen browsing context flag</a>, unless the <var title="">allow fullscreen flag</var> was passed to the <a href=#parse-a-sandboxing-directive>parse a sandboxing
+     directive</a> flag.</li>
+
     </ul></li>
 
   </ol><hr><p>Every <a href=#top-level-browsing-context>top-level browsing context</a> has a <dfn id=popup-sandboxing-flag-set>popup
@@ -68113,7 +68148,9 @@
     as the <code><a href=#document>Document</a></code> of the <var title="">specified
     entry</var>, then run these substeps:</p>
 
-    <ol><li><p><a href=#prompt-to-unload-a-document title="prompt to unload a document">Prompt to
+    <ol><li><p><a href=#fully-exit-fullscreen>Fully exit fullscreen</a>.</li>
+
+     <li><p><a href=#prompt-to-unload-a-document title="prompt to unload a document">Prompt to
      unload</a> the <a href=#active-document>active document</a> of the <var title="">specified browsing context</var>. If the user
      <a href=#refused-to-allow-the-document-to-be-unloaded>refused to allow the document to be unloaded</a>, then
      abort these steps.</li>
@@ -69044,6 +69081,21 @@
 
      <li><p><a href=#implement-the-sandboxing>Implement the sandboxing</a> for the <code><a href=#document>Document</a></code>.</li>
 
+     <li id=fullscreen-logic>
+
+      <p>If the <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> of the <code><a href=#document>Document</a></code>'s
+      <a href=#browsing-context>browsing context</a> or any of its <a href=#ancestor-browsing-context title="ancestor browsing context">ancestor
+      browsing contexts</a> (if any) have the <a href=#sandboxed-fullscreen-browsing-context-flag>sandboxed fullscreen browsing context
+      flag</a> set, then skip this step.</p>
+
+      <p>If the <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing context</a> has a <a href=#browsing-context-container>browsing context
+      container</a> and it is either not an <code><a href=#the-iframe-element>iframe</a></code> element, or it does not have the
+      <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code> attribute specified, or its
+      <code><a href=#document>Document</a></code> does not have the <a href=#fullscreen-enabled-flag>fullscreen enabled flag</a> set, then also
+      skip this step.</p>
+
+      <p>Otherwise, set the <code><a href=#document>Document</a></code>'s <a href=#fullscreen-enabled-flag>fullscreen enabled flag</a>.</p>
+
     </ol></li>
 
    <li id=navigate-non-Document>
@@ -73614,6 +73666,8 @@
     <tr><td><dfn id=handler-window-onblur title=handler-window-onblur><code>onblur</code></dfn> <td> <code title=event-blur>blur</code>
     <tr><td><dfn id=handler-window-onerror title=handler-window-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
     <tr><td><dfn id=handler-window-onfocus title=handler-window-onfocus><code>onfocus</code></dfn> <td> <code title=event-focus>focus</code>
+    <tr><td><dfn id=handler-window-onfullscreenchange title=handler-window-onfullscreenchange><code>onfullscreenchange</code></dfn> <td> <code title=event-fullscreenchange>fullscreenchange</code>
+    <tr><td><dfn id=handler-window-onfullscreenerror title=handler-window-onfullscreenerror><code>onfullscreenerror</code></dfn> <td> <code title=event-fullscreenerror>fullscreenerror</code>
     <tr><td><dfn id=handler-window-onhashchange title=handler-window-onhashchange><code>onhashchange</code></dfn> <td> <code title=event-hashchange><a href=#event-hashchange>hashchange</a></code> <!-- new -->
     <tr><td><dfn id=handler-window-onload title=handler-window-onload><code>onload</code></dfn> <td> <code title=event-load>load</code> <!-- widely used -->
     <tr><td><dfn id=handler-window-onmessage title=handler-window-onmessage><code>onmessage</code></dfn> <td> <code title=event-message><a href=#event-message>message</a></code> <!-- new for postMessage -->
@@ -98595,6 +98649,8 @@
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
@@ -98621,6 +98677,8 @@
    <li><code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code></li>
    <li><code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code></li>
    <li><code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code></li>
+   <li><code title=handler-window-onfullscreenchange><a href=#handler-window-onfullscreenchange>onfullscreenchange</a></code></li>
+   <li><code title=handler-window-onfullscreenerror><a href=#handler-window-onfullscreenerror>onfullscreenerror</a></code></li>
    <li><code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code></li>
    <li><code title=handler-window-onload><a href=#handler-window-onload>onload</a></code></li>
    <li><code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code></li>
@@ -100299,6 +100357,8 @@
          <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>;
          <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>;
          <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>;
+         <code title=handler-window-onfullscreenchange><a href=#handler-window-onfullscreenchange>onfullscreenchange</a></code>;
+         <code title=handler-window-onfullscreenerror><a href=#handler-window-onfullscreenerror>onfullscreenerror</a></code>;
          <code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code>;
          <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>;
          <code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code>;
@@ -100642,6 +100702,7 @@
          <code title=attr-iframe-name><a href=#attr-iframe-name>name</a></code>;
          <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code>;
          <code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code>;
+         <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code>;
          <code title=attr-dim-width><a href=#attr-dim-width>width</a></code>;
          <code title=attr-dim-height><a href=#attr-dim-height>height</a></code></td>
      <td><code><a href=#htmliframeelement>HTMLIFrameElement</a></code></td>
@@ -101729,6 +101790,10 @@
      <td> <code title=attr-fs-action><a href=#attr-fs-action>form</a></code>
      <td> <a href=#url>URL</a> to use for <a href=#form-submission>form submission</a>
      <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
+    <tr><th> <code title="">allowfullscreen</code>
+     <td> <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>iframe</a></code>
+     <td> Whether to allow the <code><a href=#the-iframe-element>iframe</a></code>'s contents to use <code title=dom-element-requestFullScreen><a href=#dom-element-requestfullscreen>requestFullScreen()</a></code>
+     <td> <a href=#boolean-attribute>Boolean attribute</a>
     <tr><th> <code title="">alt</code>
      <td> <code title=attr-area-alt><a href=#attr-area-alt>area</a></code>;
           <code title=attr-img-alt><a href=#attr-img-alt>img</a></code>;
@@ -102246,7 +102311,7 @@
      <td> Security rules for nested content
      <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#ascii-case-insensitive>ASCII case-insensitive</a>, consisting of
           "<code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>",
-          "<code title=attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</code>",
+          "<code title=attr-iframe-sandbox-allow-pointer-lock><a href=#attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</a></code>",
           "<code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code>",
           "<code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>",
           "<code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code> and
@@ -102611,6 +102676,16 @@
      <td> <code title=event-focus>focus</code> event handler
      <td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>
 
+    <tr><th id=ix-handler-window-onfullscreenchange> <code title="">onfullscreenchange</code>
+     <td> <code title=handler-window-onfullscreenchange><a href=#handler-window-onfullscreenchange>body</a></code>
+     <td> <code title=event-fullscreenchange>fullscreenchange</code> event handler for <code><a href=#window>Window</a></code> object
+     <td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>
+
+    <tr><th id=ix-handler-window-onfullscreenerror> <code title="">onfullscreenerror</code>
+     <td> <code title=handler-window-onfullscreenerror><a href=#handler-window-onfullscreenerror>body</a></code>
+     <td> <code title=event-fullscreenerror>fullscreenerror</code> event handler for <code><a href=#window>Window</a></code> object
+     <td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>
+
     <tr><th id=ix-handler-window-onhashchange> <code title="">onhashchange</code>
      <td> <code title=handler-window-onhashchange><a href=#handler-window-onhashchange>body</a></code>
      <td> <code title=event-hashchange><a href=#event-hashchange>hashchange</a></code> event handler for <code><a href=#window>Window</a></code> object

Modified: index
===================================================================
--- index	2012-12-05 00:19:19 UTC (rev 7563)
+++ index	2012-12-05 05:16:53 UTC (rev 7564)
@@ -4131,9 +4131,17 @@
     <a href=#refsUNDO>[UNDO]</a>
     </p>
 
-   </dd>
+    <p>The following parts of the Fullscreen specification are referenced from this specification,
+    in part to define the rendering of <code><a href=#the-dialog-element>dialog</a></code> elements, and also to define how the
+    Fullscreen API interacts with the sandboxing features in HTML: <a href=#refsFULLSCREEN>[FULLSCREEN]</a></p>
 
+    <ul class=brief><li>The <dfn id=top-layer>top layer</dfn> concept</li>
+     <li><dfn id=dom-element-requestfullscreen title=dom-element-requestFullScreen><code>requestFullScreen()</code></dfn>
+     <li>The <dfn id=fullscreen-enabled-flag>fullscreen enabled flag</dfn></li>
+     <li>The <dfn id=fully-exit-fullscreen>fully exit fullscreen</dfn> algorithm</li>
+    </ul></dd>
 
+
    <dt>Typed Arrays</dt>
 
    <dd>
@@ -4243,11 +4251,7 @@
      <li><dfn id=alternative-style-sheet-sets>Alternative style sheet sets</dfn> and the <dfn id=preferred-style-sheet-set>preferred style sheet set</dfn></li>
      <li><dfn id=serializing-a-css-value>Serializing a CSS value</dfn></li>
      <li><dfn id=scroll-an-element-into-view>Scroll an element into view</dfn></li>
-    </ul><p>Parts of the Fullscreen specification, in particular the
-    <dfn id=top-layer>top layer</dfn> concept, are used to define the rendering of
-    the <code><a href=#the-dialog-element>dialog</a></code> element. <a href=#refsFULLSCREEN>[FULLSCREEN]</a>
-
-    <p>The term <dfn id=css-styling-attribute>CSS styling attribute</dfn> is defined in the
+    </ul><p>The term <dfn id=css-styling-attribute>CSS styling attribute</dfn> is defined in the
     <cite>CSS Style Attributes</cite> specification. <a href=#refsCSSATTR>[CSSATTR]</a></p>
 
     <p>The <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's use of fonts depends on the features
@@ -17215,6 +17219,8 @@
    <dd><code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code></dd>
    <dd><code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code></dd>
    <dd><code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code></dd>
+   <dd><code title=handler-window-onfullscreenchange><a href=#handler-window-onfullscreenchange>onfullscreenchange</a></code></dd>
+   <dd><code title=handler-window-onfullscreenerror><a href=#handler-window-onfullscreenerror>onfullscreenerror</a></code></dd>
    <dd><code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code></dd>
    <dd><code title=handler-window-onload><a href=#handler-window-onload>onload</a></code></dd>
    <dd><code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code></dd>
@@ -17236,6 +17242,8 @@
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
            attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
@@ -25770,6 +25778,7 @@
    <dd><code title=attr-iframe-name><a href=#attr-iframe-name>name</a></code></dd>
    <dd><code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code></dd>
    <dd><code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code></dd>
+   <dd><code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code></dd>
    <dd><code title=attr-dim-width><a href=#attr-dim-width>width</a></code></dd>
    <dd><code title=attr-dim-height><a href=#attr-dim-height>height</a></code></dd>
    <dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
@@ -25780,6 +25789,7 @@
            attribute DOMString <a href=#dom-iframe-name title=dom-iframe-name>name</a>;
   [PutForwards=<span title=dom-DOMSettableTokenList-value>value</span>] readonly attribute <a href=#domsettabletokenlist>DOMSettableTokenList</a> <a href=#dom-iframe-sandbox title=dom-iframe-sandbox>sandbox</a>;
            attribute boolean <a href=#dom-iframe-seamless title=dom-iframe-seamless>seamless</a>;
+           attribute boolean <a href=#dom-iframe-allowfullscreen title=dom-iframe-allowFullscreen>allowFullscreen</a>;
            attribute DOMString <a href=#dom-dim-width title=dom-dim-width>width</a>;
            attribute DOMString <a href=#dom-dim-height title=dom-dim-height>height</a>;
   readonly attribute Document? <a href=#dom-iframe-contentdocument title=dom-iframe-contentDocument>contentDocument</a>;
@@ -26027,7 +26037,7 @@
   <hr><!-- SANDBOX --><p>The <dfn id=attr-iframe-sandbox title=attr-iframe-sandbox><code>sandbox</code></dfn> attribute, when specified,
   enables a set of extra restrictions on any content hosted by the <code><a href=#the-iframe-element>iframe</a></code>. Its value
   must be an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a> that are <a href=#ascii-case-insensitive>ASCII
-  case-insensitive</a>. The allowed values are <code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>, <code title=attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</code>, <code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code>, <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>, <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code>, and <code title=attr-iframe-sandbox-allow-top-navigation><a href=#attr-iframe-sandbox-allow-top-navigation>allow-top-navigation</a></code>.</p>
+  case-insensitive</a>. The allowed values are <code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>, <code title=attr-iframe-sandbox-allow-pointer-lock><a href=#attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</a></code>, <code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code>, <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>, <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code>, and <code title=attr-iframe-sandbox-allow-top-navigation><a href=#attr-iframe-sandbox-allow-top-navigation>allow-top-navigation</a></code>.</p>
 
   <p>When the attribute is set, the content is treated as being from a unique <a href=#origin>origin</a>,
   forms, scripts, and various potentially annoying APIs are disabled, links are prevented from
@@ -26036,7 +26046,7 @@
   the content to be treated as being from the same origin instead of forcing it into a unique
   origin; the <code title=attr-iframe-sandbox-allow-top-navigation><a href=#attr-iframe-sandbox-allow-top-navigation>allow-top-navigation</a></code>
   keyword allows the content to <a href=#navigate>navigate</a> its <a href=#top-level-browsing-context>top-level browsing context</a>;
-  and the <code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>, <code title=attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</code>, <code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code> and <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code> keywords re-enable forms, the
+  and the <code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>, <code title=attr-iframe-sandbox-allow-pointer-lock><a href=#attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</a></code>, <code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code> and <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code> keywords re-enable forms, the
   pointer lock API, popups, and scripts respectively. <a href=#refsPOINTERLOCK>[POINTERLOCK]</a></p>
 
   <p class=warning>Setting both the <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code> and <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code> keywords together when the
@@ -26072,8 +26082,10 @@
   <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code> is created), and when an <code><a href=#the-iframe-element>iframe</a></code>
   element's <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code> attribute is set or changed while it
   has a <a href=#nested-browsing-context>nested browsing context</a>, the user agent must <a href=#parse-a-sandboxing-directive title="parse a sandboxing
-  directive">parse the sandboxing directive</a> using the attribute's value as the <var title="">input</var> and the <code><a href=#the-iframe-element>iframe</a></code> element's <a href=#nested-browsing-context>nested browsing context</a>'s
-  <a href=#iframe-sandboxing-flag-set><code>iframe</code> sandboxing flag set</a> as the output.</p>
+  directive">parse the sandboxing directive</a> using the attribute's value as the <var title="">input</var>, the <code><a href=#the-iframe-element>iframe</a></code> element's <a href=#nested-browsing-context>nested browsing context</a>'s
+  <a href=#iframe-sandboxing-flag-set><code>iframe</code> sandboxing flag set</a> as the output, and, if the
+  <code><a href=#the-iframe-element>iframe</a></code> has an <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code>
+  attribute, the <var title="">allow fullscreen flag</var>.</p>
 
   <p>When an <code><a href=#the-iframe-element>iframe</a></code> element's <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code>
   attribute is removed while it has a <a href=#nested-browsing-context>nested browsing context</a>, the user agent must
@@ -26145,8 +26157,7 @@
   </div>
 
 
-  <hr><!-- SEAMLESS --><!-- v2: Might be interesting to have a value on seamless that allowed event propagation of some
-  sort, maybe based on the WICD work: http://www.w3.org/TR/WICD/ --><p>The <dfn id=attr-iframe-seamless title=attr-iframe-seamless><code>seamless</code></dfn> attribute is a <a href=#boolean-attribute>boolean
+  <hr><!-- SEAMLESS --><p>The <dfn id=attr-iframe-seamless title=attr-iframe-seamless><code>seamless</code></dfn> attribute is a <a href=#boolean-attribute>boolean
   attribute</a>. When specified, it indicates that the <code><a href=#the-iframe-element>iframe</a></code> element's
   <a href=#browsing-context>browsing context</a> is to be rendered in a manner that makes it appear to be part of the
   containing document (seamlessly included in the parent document).</p>
@@ -26284,6 +26295,12 @@
   propagate into <code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code> <code><a href=#the-iframe-element>iframe</a></code>s.</p>
 
 
+  <hr><!-- FULLSCREEN --><p>The <dfn id=attr-iframe-allowfullscreen title=attr-iframe-allowfullscreen><code>allowfullscreen</code></dfn> attribute is a
+  <a href=#boolean-attribute>boolean attribute</a>. When specified, it indicates that <code><a href=#document>Document</a></code> objects in
+  the <code><a href=#the-iframe-element>iframe</a></code> element's <a href=#browsing-context>browsing context</a> are to be allowed to use <code title=dom-element-requestFullScreen><a href=#dom-element-requestfullscreen>requestFullScreen()</a></code> (if it's not blocked for other
+  reasons, e.g. there is another ancestor <code><a href=#the-iframe-element>iframe</a></code> without this attribute set).</p>
+
+
   <hr><!-- DIM ATTRIBUTES --><p>The <code><a href=#the-iframe-element>iframe</a></code> element supports <a href=#dimension-attributes>dimension attributes</a> for cases where the
   embedded content has specific dimensions (e.g. ad units have well-defined dimensions).</p>
 
@@ -26314,6 +26331,10 @@
   <hr><!-- DOM --><p>The IDL attributes <dfn id=dom-iframe-src title=dom-iframe-src><code>src</code></dfn>, <dfn id=dom-iframe-srcdoc title=dom-iframe-srcdoc><code>srcdoc</code></dfn>, <dfn id=dom-iframe-name title=dom-iframe-name><code>name</code></dfn>, <dfn id=dom-iframe-sandbox title=dom-iframe-sandbox><code>sandbox</code></dfn>, and <dfn id=dom-iframe-seamless title=dom-iframe-seamless><code>seamless</code></dfn> must <a href=#reflect>reflect</a> the respective
   content attributes of the same name.</p>
 
+  <p>The <dfn id=dom-iframe-allowfullscreen title=dom-iframe-allowFullscreen><code>allowFullscreen</code></dfn> IDL attribute
+  must <a href=#reflect>reflect</a> the <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code>
+  content attribute.</p>
+
   <p>The <dfn id=dom-iframe-contentdocument title=dom-iframe-contentDocument><code>contentDocument</code></dfn> IDL attribute
   must return the <code><a href=#document>Document</a></code> object of the <a href=#active-document>active document</a> of the
   <code><a href=#the-iframe-element>iframe</a></code> element's <a href=#nested-browsing-context>nested browsing context</a>, if any, or null otherwise.</p>
@@ -66200,6 +66221,8 @@
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-onended title=handler-onended>onended</a>;
            attribute <a href=#onerroreventhandler>OnErrorEventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninput title=handler-oninput>oninput</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-oninvalid title=handler-oninvalid>oninvalid</a>;
@@ -67682,9 +67705,18 @@
 
    </dd>
 
-  </dl><p>When the user agent is to <dfn id=parse-a-sandboxing-directive>parse a sandboxing directive</dfn>, given a string <var title="">input</var> and a <a href=#sandboxing-flag-set>sandboxing flag set</a> <var title="">output</var>, it must
-  run the following steps:</p>
 
+   <dt>The <dfn id=sandboxed-fullscreen-browsing-context-flag>sandboxed fullscreen browsing context flag</dfn></dt>
+
+   <dd>
+
+    <p>This flag prevents content from using the <code title=dom-element-requestFullScreen><a href=#dom-element-requestfullscreen>requestFullScreen()</a></code> method.</p>
+
+   </dd>
+
+  </dl><p>When the user agent is to <dfn id=parse-a-sandboxing-directive>parse a sandboxing directive</dfn>, given a string <var title="">input</var>, a <a href=#sandboxing-flag-set>sandboxing flag set</a> <var title="">output</var>, and
+  optionally an <var title="">allow fullscreen flag</var>, it must run the following steps:</p>
+
   <ol><li><p><a href=#split-a-string-on-spaces title="split a string on spaces">Split <var title="">input</var> on spaces</a>, to obtain <var title="">tokens</var>.</li>
 
    <li><p>Let <var title="">output</var> be empty.</li>
@@ -67727,7 +67759,7 @@
 
      <li><p>The <a href=#sandboxed-forms-browsing-context-flag>sandboxed forms browsing context flag</a>, unless <var title="">tokens</var> contains the <dfn id=attr-iframe-sandbox-allow-forms title=attr-iframe-sandbox-allow-forms><code>allow-forms</code></dfn> keyword.</li>
 
-     <li><p>The <a href=#sandboxed-pointer-lock-browsing-context-flag>sandboxed pointer lock browsing context flag</a>, unless <var title="">tokens</var> contains the <dfn id=attr-iframe-sandbox-pointer-lock title=attr-iframe-sandbox-pointer-lock><code>allow-pointer-lock</code></dfn>
+     <li><p>The <a href=#sandboxed-pointer-lock-browsing-context-flag>sandboxed pointer lock browsing context flag</a>, unless <var title="">tokens</var> contains the <dfn id=attr-iframe-sandbox-allow-pointer-lock title=attr-iframe-sandbox-allow-pointer-lock><code>allow-pointer-lock</code></dfn>
      keyword.</li>
 
      <li><p>The <a href=#sandboxed-scripts-browsing-context-flag>sandboxed scripts browsing context flag</a>, unless <var title="">tokens</var> contains the <dfn id=attr-iframe-sandbox-allow-scripts title=attr-iframe-sandbox-allow-scripts><code>allow-scripts</code></dfn> keyword.</li>
@@ -67743,6 +67775,9 @@
 
      </li>
 
+     <li><p>The <a href=#sandboxed-fullscreen-browsing-context-flag>sandboxed fullscreen browsing context flag</a>, unless the <var title="">allow fullscreen flag</var> was passed to the <a href=#parse-a-sandboxing-directive>parse a sandboxing
+     directive</a> flag.</li>
+
     </ul></li>
 
   </ol><hr><p>Every <a href=#top-level-browsing-context>top-level browsing context</a> has a <dfn id=popup-sandboxing-flag-set>popup
@@ -68113,7 +68148,9 @@
     as the <code><a href=#document>Document</a></code> of the <var title="">specified
     entry</var>, then run these substeps:</p>
 
-    <ol><li><p><a href=#prompt-to-unload-a-document title="prompt to unload a document">Prompt to
+    <ol><li><p><a href=#fully-exit-fullscreen>Fully exit fullscreen</a>.</li>
+
+     <li><p><a href=#prompt-to-unload-a-document title="prompt to unload a document">Prompt to
      unload</a> the <a href=#active-document>active document</a> of the <var title="">specified browsing context</var>. If the user
      <a href=#refused-to-allow-the-document-to-be-unloaded>refused to allow the document to be unloaded</a>, then
      abort these steps.</li>
@@ -69044,6 +69081,21 @@
 
      <li><p><a href=#implement-the-sandboxing>Implement the sandboxing</a> for the <code><a href=#document>Document</a></code>.</li>
 
+     <li id=fullscreen-logic>
+
+      <p>If the <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> of the <code><a href=#document>Document</a></code>'s
+      <a href=#browsing-context>browsing context</a> or any of its <a href=#ancestor-browsing-context title="ancestor browsing context">ancestor
+      browsing contexts</a> (if any) have the <a href=#sandboxed-fullscreen-browsing-context-flag>sandboxed fullscreen browsing context
+      flag</a> set, then skip this step.</p>
+
+      <p>If the <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing context</a> has a <a href=#browsing-context-container>browsing context
+      container</a> and it is either not an <code><a href=#the-iframe-element>iframe</a></code> element, or it does not have the
+      <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code> attribute specified, or its
+      <code><a href=#document>Document</a></code> does not have the <a href=#fullscreen-enabled-flag>fullscreen enabled flag</a> set, then also
+      skip this step.</p>
+
+      <p>Otherwise, set the <code><a href=#document>Document</a></code>'s <a href=#fullscreen-enabled-flag>fullscreen enabled flag</a>.</p>
+
     </ol></li>
 
    <li id=navigate-non-Document>
@@ -73614,6 +73666,8 @@
     <tr><td><dfn id=handler-window-onblur title=handler-window-onblur><code>onblur</code></dfn> <td> <code title=event-blur>blur</code>
     <tr><td><dfn id=handler-window-onerror title=handler-window-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
     <tr><td><dfn id=handler-window-onfocus title=handler-window-onfocus><code>onfocus</code></dfn> <td> <code title=event-focus>focus</code>
+    <tr><td><dfn id=handler-window-onfullscreenchange title=handler-window-onfullscreenchange><code>onfullscreenchange</code></dfn> <td> <code title=event-fullscreenchange>fullscreenchange</code>
+    <tr><td><dfn id=handler-window-onfullscreenerror title=handler-window-onfullscreenerror><code>onfullscreenerror</code></dfn> <td> <code title=event-fullscreenerror>fullscreenerror</code>
     <tr><td><dfn id=handler-window-onhashchange title=handler-window-onhashchange><code>onhashchange</code></dfn> <td> <code title=event-hashchange><a href=#event-hashchange>hashchange</a></code> <!-- new -->
     <tr><td><dfn id=handler-window-onload title=handler-window-onload><code>onload</code></dfn> <td> <code title=event-load>load</code> <!-- widely used -->
     <tr><td><dfn id=handler-window-onmessage title=handler-window-onmessage><code>onmessage</code></dfn> <td> <code title=event-message><a href=#event-message>message</a></code> <!-- new for postMessage -->
@@ -98595,6 +98649,8 @@
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onblur title=handler-window-onblur>onblur</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onerror title=handler-window-onerror>onerror</a>;
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfocus title=handler-window-onfocus>onfocus</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenchange title=handler-window-onfullscreenchange>onfullscreenchange</a>;
+           attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onfullscreenerror title=handler-window-onfullscreenerror>onfullscreenerror</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onhashchange title=handler-window-onhashchange>onhashchange</a>;
 //         attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onload title=handler-window-onload>onload</a>;
            attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onmessage title=handler-window-onmessage>onmessage</a>;
@@ -98621,6 +98677,8 @@
    <li><code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code></li>
    <li><code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code></li>
    <li><code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code></li>
+   <li><code title=handler-window-onfullscreenchange><a href=#handler-window-onfullscreenchange>onfullscreenchange</a></code></li>
+   <li><code title=handler-window-onfullscreenerror><a href=#handler-window-onfullscreenerror>onfullscreenerror</a></code></li>
    <li><code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code></li>
    <li><code title=handler-window-onload><a href=#handler-window-onload>onload</a></code></li>
    <li><code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code></li>
@@ -100299,6 +100357,8 @@
          <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>;
          <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>;
          <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>;
+         <code title=handler-window-onfullscreenchange><a href=#handler-window-onfullscreenchange>onfullscreenchange</a></code>;
+         <code title=handler-window-onfullscreenerror><a href=#handler-window-onfullscreenerror>onfullscreenerror</a></code>;
          <code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code>;
          <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>;
          <code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code>;
@@ -100642,6 +100702,7 @@
          <code title=attr-iframe-name><a href=#attr-iframe-name>name</a></code>;
          <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>sandbox</a></code>;
          <code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code>;
+         <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>allowfullscreen</a></code>;
          <code title=attr-dim-width><a href=#attr-dim-width>width</a></code>;
          <code title=attr-dim-height><a href=#attr-dim-height>height</a></code></td>
      <td><code><a href=#htmliframeelement>HTMLIFrameElement</a></code></td>
@@ -101729,6 +101790,10 @@
      <td> <code title=attr-fs-action><a href=#attr-fs-action>form</a></code>
      <td> <a href=#url>URL</a> to use for <a href=#form-submission>form submission</a>
      <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
+    <tr><th> <code title="">allowfullscreen</code>
+     <td> <code title=attr-iframe-allowfullscreen><a href=#attr-iframe-allowfullscreen>iframe</a></code>
+     <td> Whether to allow the <code><a href=#the-iframe-element>iframe</a></code>'s contents to use <code title=dom-element-requestFullScreen><a href=#dom-element-requestfullscreen>requestFullScreen()</a></code>
+     <td> <a href=#boolean-attribute>Boolean attribute</a>
     <tr><th> <code title="">alt</code>
      <td> <code title=attr-area-alt><a href=#attr-area-alt>area</a></code>;
           <code title=attr-img-alt><a href=#attr-img-alt>img</a></code>;
@@ -102246,7 +102311,7 @@
      <td> Security rules for nested content
      <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#ascii-case-insensitive>ASCII case-insensitive</a>, consisting of
           "<code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>",
-          "<code title=attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</code>",
+          "<code title=attr-iframe-sandbox-allow-pointer-lock><a href=#attr-iframe-sandbox-allow-pointer-lock>allow-pointer-lock</a></code>",
           "<code title=attr-iframe-sandbox-allow-popups><a href=#attr-iframe-sandbox-allow-popups>allow-popups</a></code>",
           "<code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>",
           "<code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code> and
@@ -102611,6 +102676,16 @@
      <td> <code title=event-focus>focus</code> event handler
      <td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>
 
+    <tr><th id=ix-handler-window-onfullscreenchange> <code title="">onfullscreenchange</code>
+     <td> <code title=handler-window-onfullscreenchange><a href=#handler-window-onfullscreenchange>body</a></code>
+     <td> <code title=event-fullscreenchange>fullscreenchange</code> event handler for <code><a href=#window>Window</a></code> object
+     <td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>
+
+    <tr><th id=ix-handler-window-onfullscreenerror> <code title="">onfullscreenerror</code>
+     <td> <code title=handler-window-onfullscreenerror><a href=#handler-window-onfullscreenerror>body</a></code>
+     <td> <code title=event-fullscreenerror>fullscreenerror</code> event handler for <code><a href=#window>Window</a></code> object
+     <td> <a href=#event-handler-content-attributes title="event handler content attributes">Event handler content attribute</a>
+
     <tr><th id=ix-handler-window-onhashchange> <code title="">onhashchange</code>
      <td> <code title=handler-window-onhashchange><a href=#handler-window-onhashchange>body</a></code>
      <td> <code title=event-hashchange><a href=#event-hashchange>hashchange</a></code> event handler for <code><a href=#window>Window</a></code> object

Modified: source
===================================================================
--- source	2012-12-05 00:19:19 UTC (rev 7563)
+++ source	2012-12-05 05:16:53 UTC (rev 7564)
@@ -3038,6 +3038,18 @@
     <a href="#refsUNDO">[UNDO]</a>
     </p>
 
+    <p>The following parts of the Fullscreen specification are referenced from this specification,
+    in part to define the rendering of <code>dialog</code> elements, and also to define how the
+    Fullscreen API interacts with the sandboxing features in HTML: <a
+    href="#refsFULLSCREEN">[FULLSCREEN]</a></p>
+
+    <ul class="brief">
+     <li>The <dfn>top layer</dfn> concept</li>
+     <li><dfn title="dom-element-requestFullScreen"><code>requestFullScreen()</code></dfn>
+     <li>The <dfn>fullscreen enabled flag</dfn></li>
+     <li>The <dfn>fully exit fullscreen</dfn> algorithm</li>
+    </ul>
+
    </dd>
 
 
@@ -3169,11 +3181,6 @@
      <li><dfn>Scroll an element into view</dfn></li>
     </ul>
 
-    <p>Parts of the Fullscreen specification, in particular the
-    <dfn>top layer</dfn> concept, are used to define the rendering of
-    the <code>dialog</code> element. <a
-    href="#refsFULLSCREEN">[FULLSCREEN]</a>
-
     <p>The term <dfn>CSS styling attribute</dfn> is defined in the
     <cite>CSS Style Attributes</cite> specification. <a
     href="#refsCSSATTR">[CSSATTR]</a></p>
@@ -18207,6 +18214,8 @@
    <dd><code title="handler-window-onblur">onblur</code></dd>
    <dd><code title="handler-window-onerror">onerror</code></dd>
    <dd><code title="handler-window-onfocus">onfocus</code></dd>
+   <dd><code title="handler-window-onfullscreenchange">onfullscreenchange</code></dd>
+   <dd><code title="handler-window-onfullscreenerror">onfullscreenerror</code></dd>
    <dd><code title="handler-window-onhashchange">onhashchange</code></dd>
    <dd><code title="handler-window-onload">onload</code></dd>
    <dd><code title="handler-window-onmessage">onmessage</code></dd>
@@ -18228,6 +18237,8 @@
 //         attribute <span>EventHandler</span> <span title="handler-window-onblur">onblur</span>;
            attribute <span>OnErrorEventHandler</span> <span title="handler-window-onerror">onerror</span>;
 //         attribute <span>EventHandler</span> <span title="handler-window-onfocus">onfocus</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenchange">onfullscreenchange</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenerror">onfullscreenerror</span>;
            attribute <span>EventHandler</span> <span title="handler-window-onhashchange">onhashchange</span>;
 //         attribute <span>EventHandler</span> <span title="handler-window-onload">onload</span>;
            attribute <span>EventHandler</span> <span title="handler-window-onmessage">onmessage</span>;
@@ -27477,6 +27488,7 @@
    <dd><code title="attr-iframe-name">name</code></dd>
    <dd><code title="attr-iframe-sandbox">sandbox</code></dd>
    <dd><code title="attr-iframe-seamless">seamless</code></dd>
+   <dd><code title="attr-iframe-allowfullscreen">allowfullscreen</code></dd>
    <dd><code title="attr-dim-width">width</code></dd>
    <dd><code title="attr-dim-height">height</code></dd>
    <dt><span title="element-dfn-dom">DOM interface</span>:</dt><!--TOPIC:DOM APIs-->
@@ -27487,6 +27499,7 @@
            attribute DOMString <span title="dom-iframe-name">name</span>;
   [PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-iframe-sandbox">sandbox</span>;
            attribute boolean <span title="dom-iframe-seamless">seamless</span>;
+           attribute boolean <span title="dom-iframe-allowFullscreen">allowFullscreen</span>;
            attribute DOMString <span title="dom-dim-width">width</span>;
            attribute DOMString <span title="dom-dim-height">height</span>;
   readonly attribute Document? <span title="dom-iframe-contentDocument">contentDocument</span>;
@@ -27839,8 +27852,10 @@
   element's <code title="attr-iframe-sandbox">sandbox</code> attribute is set or changed while it
   has a <span>nested browsing context</span>, the user agent must <span title="parse a sandboxing
   directive">parse the sandboxing directive</span> using the attribute's value as the <var
-  title="">input</var> and the <code>iframe</code> element's <span>nested browsing context</span>'s
-  <span><code>iframe</code> sandboxing flag set</span> as the output.</p>
+  title="">input</var>, the <code>iframe</code> element's <span>nested browsing context</span>'s
+  <span><code>iframe</code> sandboxing flag set</span> as the output, and, if the
+  <code>iframe</code> has an <code title="attr-iframe-allowfullscreen">allowfullscreen</code>
+  attribute, the <var title="">allow fullscreen flag</var>.</p>
 
   <p>When an <code>iframe</code> element's <code title="attr-iframe-sandbox">sandbox</code>
   attribute is removed while it has a <span>nested browsing context</span>, the user agent must
@@ -27919,9 +27934,6 @@
 
   <hr> <!-- SEAMLESS -->
 
-  <!-- v2: Might be interesting to have a value on seamless that allowed event propagation of some
-  sort, maybe based on the WICD work: http://www.w3.org/TR/WICD/ -->
-
   <p>The <dfn title="attr-iframe-seamless"><code>seamless</code></dfn> attribute is a <span>boolean
   attribute</span>. When specified, it indicates that the <code>iframe</code> element's
   <span>browsing context</span> is to be rendered in a manner that makes it appear to be part of the
@@ -28074,6 +28086,15 @@
   propagate into <code title="attr-iframe-seamless">seamless</code> <code>iframe</code>s.</p>
 
 
+  <hr> <!-- FULLSCREEN -->
+
+  <p>The <dfn title="attr-iframe-allowfullscreen"><code>allowfullscreen</code></dfn> attribute is a
+  <span>boolean attribute</span>. When specified, it indicates that <code>Document</code> objects in
+  the <code>iframe</code> element's <span>browsing context</span> are to be allowed to use <code
+  title="dom-element-requestFullScreen">requestFullScreen()</code> (if it's not blocked for other
+  reasons, e.g. there is another ancestor <code>iframe</code> without this attribute set).</p>
+
+
   <hr> <!-- DIM ATTRIBUTES -->
 
   <p>The <code>iframe</code> element supports <span>dimension attributes</span> for cases where the
@@ -28116,6 +28137,10 @@
   title="dom-iframe-seamless"><code>seamless</code></dfn> must <span>reflect</span> the respective
   content attributes of the same name.</p>
 
+  <p>The <dfn title="dom-iframe-allowFullscreen"><code>allowFullscreen</code></dfn> IDL attribute
+  must <span>reflect</span> the <code title="attr-iframe-allowfullscreen">allowfullscreen</code>
+  content attribute.</p>
+
   <p>The <dfn title="dom-iframe-contentDocument"><code>contentDocument</code></dfn> IDL attribute
   must return the <code>Document</code> object of the <span>active document</span> of the
   <code>iframe</code> element's <span>nested browsing context</span>, if any, or null otherwise.</p>
@@ -77487,6 +77512,8 @@
            attribute <span>EventHandler</span> <span title="handler-onended">onended</span>;
            attribute <span>OnErrorEventHandler</span> <span title="handler-window-onerror">onerror</span>;
            attribute <span>EventHandler</span> <span title="handler-window-onfocus">onfocus</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenchange">onfullscreenchange</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenerror">onfullscreenerror</span>;
            attribute <span>EventHandler</span> <span title="handler-window-onhashchange">onhashchange</span>;
            attribute <span>EventHandler</span> <span title="handler-oninput">oninput</span>;
            attribute <span>EventHandler</span> <span title="handler-oninvalid">oninvalid</span>;
@@ -79189,11 +79216,21 @@
 
    </dd>
 
+
+   <dt>The <dfn>sandboxed fullscreen browsing context flag</dfn></dt>
+
+   <dd>
+
+    <p>This flag prevents content from using the <code
+    title="dom-element-requestFullScreen">requestFullScreen()</code> method.</p>
+
+   </dd>
+
   </dl>
 
   <p>When the user agent is to <dfn>parse a sandboxing directive</dfn>, given a string <var
-  title="">input</var> and a <span>sandboxing flag set</span> <var title="">output</var>, it must
-  run the following steps:</p>
+  title="">input</var>, a <span>sandboxing flag set</span> <var title="">output</var>, and
+  optionally an <var title="">allow fullscreen flag</var>, it must run the following steps:</p>
 
   <ol>
 
@@ -79253,7 +79290,7 @@
 
      <li><p>The <span>sandboxed pointer lock browsing context flag</span>, unless <var
      title="">tokens</var> contains the <dfn
-     title="attr-iframe-sandbox-pointer-lock"><code>allow-pointer-lock</code></dfn>
+     title="attr-iframe-sandbox-allow-pointer-lock"><code>allow-pointer-lock</code></dfn>
      keyword.</p></li>
 
      <li><p>The <span>sandboxed scripts browsing context flag</span>, unless <var
@@ -79273,6 +79310,10 @@
 
      </li>
 
+     <li><p>The <span>sandboxed fullscreen browsing context flag</span>, unless the <var
+     title="">allow fullscreen flag</var> was passed to the <span>parse a sandboxing
+     directive</span> flag.</p></li>
+
     </ul>
 
    </li>
@@ -79680,6 +79721,8 @@
 
     <ol>
 
+     <li><p><span>Fully exit fullscreen</span>.</p></li>
+
      <li><p><span title="prompt to unload a document">Prompt to
      unload</span> the <span>active document</span> of the <var
      title="">specified browsing context</var>. If the user
@@ -80735,6 +80778,21 @@
 
      <li><p><span>Implement the sandboxing</span> for the <code>Document</code>.</p></li>
 
+     <li id="fullscreen-logic">
+
+      <p>If the <span>active sandboxing flag set</span> of the <code>Document</code>'s
+      <span>browsing context</span> or any of its <span title="ancestor browsing context">ancestor
+      browsing contexts</span> (if any) have the <span>sandboxed fullscreen browsing context
+      flag</span> set, then skip this step.</p>
+
+      <p>If the <code>Document</code>'s <span>browsing context</span> has a <span>browsing context
+      container</span> and it is either not an <code>iframe</code> element, or it does not have the
+      <code title="attr-iframe-allowfullscreen">allowfullscreen</code> attribute specified, or its
+      <code>Document</code> does not have the <span>fullscreen enabled flag</span> set, then also
+      skip this step.</p>
+
+      <p>Otherwise, set the <code>Document</code>'s <span>fullscreen enabled flag</span>.</p>
+
     </ol>
 
    </li>
@@ -86072,6 +86130,8 @@
     <tr><td><dfn title="handler-window-onblur"><code>onblur</code></dfn> <td> <code title="event-blur">blur</code>
     <tr><td><dfn title="handler-window-onerror"><code>onerror</code></dfn> <td> <code title="event-error">error</code>
     <tr><td><dfn title="handler-window-onfocus"><code>onfocus</code></dfn> <td> <code title="event-focus">focus</code>
+    <tr><td><dfn title="handler-window-onfullscreenchange"><code>onfullscreenchange</code></dfn> <td> <code title="event-fullscreenchange">fullscreenchange</code>
+    <tr><td><dfn title="handler-window-onfullscreenerror"><code>onfullscreenerror</code></dfn> <td> <code title="event-fullscreenerror">fullscreenerror</code>
     <tr><td><dfn title="handler-window-onhashchange"><code>onhashchange</code></dfn> <td> <code title="event-hashchange">hashchange</code> <!-- new -->
     <tr><td><dfn title="handler-window-onload"><code>onload</code></dfn> <td> <code title="event-load">load</code> <!-- widely used -->
     <tr><td><dfn title="handler-window-onmessage"><code>onmessage</code></dfn> <td> <code title="event-message">message</code> <!-- new for postMessage -->
@@ -115167,6 +115227,8 @@
 //         attribute <span>EventHandler</span> <span title="handler-window-onblur">onblur</span>;
            attribute <span>EventHandler</span> <span title="handler-window-onerror">onerror</span>;
 //         attribute <span>EventHandler</span> <span title="handler-window-onfocus">onfocus</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenchange">onfullscreenchange</span>;
+           attribute <span>EventHandler</span> <span title="handler-window-onfullscreenerror">onfullscreenerror</span>;
            attribute <span>EventHandler</span> <span title="handler-window-onhashchange">onhashchange</span>;
 //         attribute <span>EventHandler</span> <span title="handler-window-onload">onload</span>;
            attribute <span>EventHandler</span> <span title="handler-window-onmessage">onmessage</span>;
@@ -115195,6 +115257,8 @@
    <li><code title="handler-window-onblur">onblur</code></li>
    <li><code title="handler-window-onerror">onerror</code></li>
    <li><code title="handler-window-onfocus">onfocus</code></li>
+   <li><code title="handler-window-onfullscreenchange">onfullscreenchange</code></li>
+   <li><code title="handler-window-onfullscreenerror">onfullscreenerror</code></li>
    <li><code title="handler-window-onhashchange">onhashchange</code></li>
    <li><code title="handler-window-onload">onload</code></li>
    <li><code title="handler-window-onmessage">onmessage</code></li>
@@ -117267,6 +117331,8 @@
          <code title="handler-window-onblur">onblur</code>;
          <code title="handler-window-onerror">onerror</code>;
          <code title="handler-window-onfocus">onfocus</code>;
+         <code title="handler-window-onfullscreenchange">onfullscreenchange</code>;
+         <code title="handler-window-onfullscreenerror">onfullscreenerror</code>;
          <code title="handler-window-onhashchange">onhashchange</code>;
          <code title="handler-window-onload">onload</code>;
          <code title="handler-window-onmessage">onmessage</code>;
@@ -117712,6 +117778,7 @@
          <code title="attr-iframe-name">name</code>;
          <code title="attr-iframe-sandbox">sandbox</code>;
          <code title="attr-iframe-seamless">seamless</code>;
+         <code title="attr-iframe-allowfullscreen">allowfullscreen</code>;
          <code title="attr-dim-width">width</code>;
          <code title="attr-dim-height">height</code></td>
      <td><code>HTMLIFrameElement</code></td>
@@ -119009,6 +119076,11 @@
      <td> <span>URL</span> to use for <span>form submission</span>
      <td> <span>Valid non-empty URL potentially surrounded by spaces</span>
     <tr>
+     <th> <code title="">allowfullscreen</code>
+     <td> <code title="attr-iframe-allowfullscreen">iframe</code>
+     <td> Whether to allow the <code>iframe</code>'s contents to use <code title="dom-element-requestFullScreen">requestFullScreen()</code>
+     <td> <span>Boolean attribute</span>
+    <tr>
      <th> <code title="">alt</code>
      <td> <code title="attr-area-alt">area</code>;
           <code title="attr-img-alt">img</code>;
@@ -120072,6 +120144,18 @@
      <td> <span title="event handler content attributes">Event handler content attribute</span>
 
     <tr>
+     <th id="ix-handler-window-onfullscreenchange"> <code title="">onfullscreenchange</code>
+     <td> <code title="handler-window-onfullscreenchange">body</code>
+     <td> <code title="event-fullscreenchange">fullscreenchange</code> event handler for <code>Window</code> object
+     <td> <span title="event handler content attributes">Event handler content attribute</span>
+
+    <tr>
+     <th id="ix-handler-window-onfullscreenerror"> <code title="">onfullscreenerror</code>
+     <td> <code title="handler-window-onfullscreenerror">body</code>
+     <td> <code title="event-fullscreenerror">fullscreenerror</code> event handler for <code>Window</code> object
+     <td> <span title="event handler content attributes">Event handler content attribute</span>
+
+    <tr>
      <th id="ix-handler-window-onhashchange"> <code title="">onhashchange</code>
      <td> <code title="handler-window-onhashchange">body</code>
      <td> <code title="event-hashchange">hashchange</code> event handler for <code>Window</code> object




More information about the Commit-Watchers mailing list