onhashchange
| body
| hashchange event handler for Window object
diff --git a/index b/index
index 8d9f6c87433..9a686d098ca 100644
--- a/index
+++ b/index
@@ -4131,7 +4131,15 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
[UNDO]
-
+ The following parts of the Fullscreen specification are referenced from this specification,
+ in part to define the rendering of dialog elements, and also to define how the
+ Fullscreen API interacts with the sandboxing features in HTML: [FULLSCREEN]
+
+ - The top layer concept
+ requestFullScreen()
+ - The fullscreen enabled flag
+ - The fully exit fullscreen algorithm
+
Typed Arrays
@@ -4243,11 +4251,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
Alternative style sheet sets and the preferred style sheet set
Serializing a CSS value
Scroll an element into view
- Parts of the Fullscreen specification, in particular the
- top layer concept, are used to define the rendering of
- the dialog element. [FULLSCREEN]
-
- The term CSS styling attribute is defined in the
+ The term CSS styling attribute is defined in the
CSS Style Attributes specification. [CSSATTR]
The CanvasRenderingContext2D object's use of fonts depends on the features
@@ -17215,6 +17219,8 @@ not-slash = %x0000-002E / %x0030-10FFFF
onblur
onerror
onfocus
+ onfullscreenchange
+ onfullscreenerror
onhashchange
onload
onmessage
@@ -17236,6 +17242,8 @@ not-slash = %x0000-002E / %x0030-10FFFF
// attribute EventHandler onblur;
attribute OnErrorEventHandler onerror;
// attribute EventHandler onfocus;
+ attribute EventHandler onfullscreenchange;
+ attribute EventHandler onfullscreenerror;
attribute EventHandler onhashchange;
// attribute EventHandler onload;
attribute EventHandler onmessage;
@@ -25770,6 +25778,7 @@ href="?audio">audio</a> test instead.)</p>
name
sandbox
seamless
+ allowfullscreen
width
height
DOM interface:
@@ -25780,6 +25789,7 @@ href="?audio">audio</a> test instead.)</p>
attribute DOMString name;
[PutForwards=value] readonly attribute DOMSettableTokenList sandbox;
attribute boolean seamless;
+ attribute boolean allowFullscreen;
attribute DOMString width;
attribute DOMString height;
readonly attribute Document? contentDocument;
@@ -26027,7 +26037,7 @@ href="?audio">audio</a> test instead.)</p>
The sandbox attribute, when specified,
enables a set of extra restrictions on any content hosted by the iframe . Its value
must be an unordered set of unique space-separated tokens that are ASCII
- case-insensitive. The allowed values are allow-forms , allow-pointer-lock , allow-popups , allow-same-origin , allow-scripts , and allow-top-navigation .
+ case-insensitive. The allowed values are allow-forms , allow-pointer-lock , allow-popups , allow-same-origin , allow-scripts , and allow-top-navigation .
When the attribute is set, the content is treated as being from a unique origin,
forms, scripts, and various potentially annoying APIs are disabled, links are prevented from
@@ -26036,7 +26046,7 @@ href="?audio">audio</a> test instead.)</p>
the content to be treated as being from the same origin instead of forcing it into a unique
origin; the allow-top-navigation
keyword allows the content to navigate its top-level browsing context;
- and the allow-forms , allow-pointer-lock , allow-popups and allow-scripts keywords re-enable forms, the
+ and the allow-forms , allow-pointer-lock , allow-popups and allow-scripts keywords re-enable forms, the
pointer lock API, popups, and scripts respectively. [POINTERLOCK]
Setting both the allow-scripts and allow-same-origin keywords together when the
@@ -26072,8 +26082,10 @@ href="?audio">audio</a> test instead.)</p>
about:blank Document is created), and when an iframe
element's sandbox attribute is set or changed while it
has a nested browsing context, the user agent must parse the sandboxing directive using the attribute's value as the input and the iframe element's nested browsing context's
- iframe sandboxing flag set as the output.
+ directive">parse the sandboxing directive using the attribute's value as the input, the iframe element's nested browsing context's
+ iframe sandboxing flag set as the output, and, if the
+ iframe has an allowfullscreen
+ attribute, the allow fullscreen flag.
When an iframe element's sandbox
attribute is removed while it has a nested browsing context, the user agent must
@@ -26145,8 +26157,7 @@ href="?audio">audio</a> test instead.)</p>
-
The seamless attribute is a boolean
+
The seamless attribute is a boolean
attribute. When specified, it indicates that the iframe element's
browsing context is to be rendered in a manner that makes it appear to be part of the
containing document (seamlessly included in the parent document).
@@ -26284,6 +26295,12 @@ href="?audio">audio</a> test instead.)</p>
propagate into seamless iframe s.
+
The allowfullscreen attribute is a
+ boolean attribute. When specified, it indicates that Document objects in
+ the iframe element's browsing context are to be allowed to use requestFullScreen() (if it's not blocked for other
+ reasons, e.g. there is another ancestor iframe without this attribute set).
+
+
The iframe element supports dimension attributes for cases where the
embedded content has specific dimensions (e.g. ad units have well-defined dimensions).
@@ -26314,6 +26331,10 @@ href="?audio">audio</a> test instead.)</p>
The IDL attributes src , srcdoc , name , sandbox , and seamless must reflect the respective
content attributes of the same name.
+ The allowFullscreen IDL attribute
+ must reflect the allowfullscreen
+ content attribute.
+
The contentDocument IDL attribute
must return the Document object of the active document of the
iframe element's nested browsing context, if any, or null otherwise.
@@ -66200,6 +66221,8 @@ END:VCARD
attribute EventHandler onended;
attribute OnErrorEventHandler onerror;
attribute EventHandler onfocus;
+ attribute EventHandler onfullscreenchange;
+ attribute EventHandler onfullscreenerror;
attribute EventHandler onhashchange;
attribute EventHandler oninput;
attribute EventHandler oninvalid;
@@ -67682,8 +67705,17 @@ x === this; // true
- When the user agent is to parse a sandboxing directive, given a string input and a sandboxing flag set output, it must
- run the following steps:
+
+ The sandboxed fullscreen browsing context flag
+
+
+
+ This flag prevents content from using the requestFullScreen() method.
+
+
+
+ When the user agent is to parse a sandboxing directive, given a string input, a sandboxing flag set output, and
+ optionally an allow fullscreen flag, it must run the following steps:
Split input on spaces, to obtain tokens.
@@ -67727,7 +67759,7 @@ x === this; // true
The sandboxed forms browsing context flag, unless tokens contains the allow-forms keyword.
- The sandboxed pointer lock browsing context flag, unless tokens contains the allow-pointer-lock
+ The sandboxed pointer lock browsing context flag, unless tokens contains the allow-pointer-lock
keyword.
The sandboxed scripts browsing context flag, unless tokens contains the allow-scripts keyword.
@@ -67743,6 +67775,9 @@ x === this; // true
+ The sandboxed fullscreen browsing context flag, unless the allow fullscreen flag was passed to the parse a sandboxing
+ directive flag.
+
Every top-level browsing context has a popup
@@ -68113,7 +68148,9 @@ x === this; // true
as the Document of the specified
entry, then run these substeps:
- Prompt to
+ Fully exit fullscreen.
+
+ Prompt to
unload the active document of the specified browsing context. If the user
refused to allow the document to be unloaded, then
abort these steps.
@@ -69044,6 +69081,21 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BU
Implement the sandboxing for the Document .
+ -
+
+
If the active sandboxing flag set of the Document 's
+ browsing context or any of its ancestor
+ browsing contexts (if any) have the sandboxed fullscreen browsing context
+ flag set, then skip this step.
+
+ If the Document 's browsing context has a browsing context
+ container and it is either not an iframe element, or it does not have the
+ allowfullscreen attribute specified, or its
+ Document does not have the fullscreen enabled flag set, then also
+ skip this step.
+
+ Otherwise, set the Document 's fullscreen enabled flag.
+
-
@@ -73614,6 +73666,8 @@ typedef OnErrorEventHandlerNonNull?
onblur | blur
| onerror | error
| onfocus | focus
+ | onfullscreenchange | fullscreenchange
+ | onfullscreenerror | fullscreenerror
| onhashchange | hashchange
| onload | load
| onmessage | message
@@ -98595,6 +98649,8 @@ if (s = prompt('What is your name?')) {
// attribute EventHandler onblur;
attribute EventHandler onerror;
// attribute EventHandler onfocus;
+ attribute EventHandler onfullscreenchange;
+ attribute EventHandler onfullscreenerror;
attribute EventHandler onhashchange;
// attribute EventHandler onload;
attribute EventHandler onmessage;
@@ -98621,6 +98677,8 @@ if (s = prompt('What is your name?')) {
onblur
onerror
onfocus
+ onfullscreenchange
+ onfullscreenerror
onhashchange
onload
onmessage
@@ -100299,6 +100357,8 @@ if (s = prompt('What is your name?')) {
onblur ;
onerror ;
onfocus ;
+ onfullscreenchange ;
+ onfullscreenerror ;
onhashchange ;
onload ;
onmessage ;
@@ -100642,6 +100702,7 @@ if (s = prompt('What is your name?')) {
name ;
sandbox ;
seamless ;
+ allowfullscreen ;
width ;
height |
HTMLIFrameElement |
@@ -101729,6 +101790,10 @@ if (s = prompt('What is your name?')) {
form
| URL to use for form submission
| Valid non-empty URL potentially surrounded by spaces
+ | allowfullscreen
+ | iframe
+ | Whether to allow the iframe 's contents to use requestFullScreen()
+ | Boolean attribute
|
---|
alt
| area ;
img ;
@@ -102246,7 +102311,7 @@ if (s = prompt('What is your name?')) {
| Security rules for nested content
| Unordered set of unique space-separated tokens, ASCII case-insensitive, consisting of
"allow-forms ",
- "allow-pointer-lock ",
+ "allow-pointer-lock ",
"allow-popups ",
"allow-same-origin ",
"allow-scripts and
@@ -102611,6 +102676,16 @@ if (s = prompt('What is your name?')) {
| focus event handler
| Event handler content attribute
+ |
---|
onfullscreenchange
+ | body
+ | fullscreenchange event handler for Window object
+ | Event handler content attribute
+
+ |
---|
onfullscreenerror
+ | body
+ | fullscreenerror event handler for Window object
+ | Event handler content attribute
+
|
---|
onhashchange
| body
| hashchange event handler for Window object
diff --git a/source b/source
index a44e63b2661..0f4447a4326 100644
--- a/source
+++ b/source
@@ -3038,6 +3038,18 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
[UNDO]
+ The following parts of the Fullscreen specification are referenced from this specification,
+ in part to define the rendering of dialog elements, and also to define how the
+ Fullscreen API interacts with the sandboxing features in HTML: [FULLSCREEN]
+
+
+ - The top layer concept
+ requestFullScreen()
+ - The fullscreen enabled flag
+ - The fully exit fullscreen algorithm
+
+
@@ -3169,11 +3181,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
- Scroll an element into view
- Parts of the Fullscreen specification, in particular the
- top layer concept, are used to define the rendering of
- the dialog element. [FULLSCREEN]
-
The term CSS styling attribute is defined in the
CSS Style Attributes specification. [CSSATTR]
@@ -18207,6 +18214,8 @@ not-slash = %x0000-002E / %x0030-10FFFF
onblur
onerror
onfocus
+ onfullscreenchange
+ onfullscreenerror
onhashchange
onload
onmessage
@@ -18228,6 +18237,8 @@ not-slash = %x0000-002E / %x0030-10FFFF
// attribute EventHandler onblur;
attribute OnErrorEventHandler onerror;
// attribute EventHandler onfocus;
+ attribute EventHandler onfullscreenchange;
+ attribute EventHandler onfullscreenerror;
attribute EventHandler onhashchange;
// attribute EventHandler onload;
attribute EventHandler onmessage;
@@ -27477,6 +27488,7 @@ href="?audio">audio</a> test instead.)</p>
name
sandbox
seamless
+ allowfullscreen
width
height
- DOM interface:
@@ -27487,6 +27499,7 @@ href="?audio">audio</a> test instead.)</p>
attribute DOMString name;
[PutForwards=value] readonly attribute DOMSettableTokenList sandbox;
attribute boolean seamless;
+ attribute boolean allowFullscreen;
attribute DOMString width;
attribute DOMString height;
readonly attribute Document? contentDocument;
@@ -27839,8 +27852,10 @@ href="?audio">audio</a> test instead.)</p>
element's sandbox attribute is set or changed while it
has a nested browsing context, the user agent must parse the sandboxing directive using the attribute's value as the input and the iframe element's nested browsing context's
- iframe sandboxing flag set as the output.
+ title="">input, the iframe element's nested browsing context's
+ iframe sandboxing flag set as the output, and, if the
+ iframe has an allowfullscreen
+ attribute, the allow fullscreen flag.
When an iframe element's sandbox
attribute is removed while it has a nested browsing context, the user agent must
@@ -27919,9 +27934,6 @@ href="?audio">audio</a> test instead.)</p>
-
-
The seamless attribute is a boolean
attribute. When specified, it indicates that the iframe element's
browsing context is to be rendered in a manner that makes it appear to be part of the
@@ -28074,6 +28086,15 @@ href="?audio">audio</a> test instead.)</p>
propagate into seamless iframe s.
+
+
+ The allowfullscreen attribute is a
+ boolean attribute. When specified, it indicates that Document objects in
+ the iframe element's browsing context are to be allowed to use requestFullScreen() (if it's not blocked for other
+ reasons, e.g. there is another ancestor iframe without this attribute set).
+
+
The iframe element supports dimension attributes for cases where the
@@ -28116,6 +28137,10 @@ href="?audio">audio</a> test instead.)</p>
title="dom-iframe-seamless">seamless must reflect the respective
content attributes of the same name.
+ The allowFullscreen IDL attribute
+ must reflect the allowfullscreen
+ content attribute.
+
The contentDocument IDL attribute
must return the Document object of the active document of the
iframe element's nested browsing context, if any, or null otherwise.
@@ -77487,6 +77512,8 @@ END:VCARD
attribute EventHandler onended;
attribute OnErrorEventHandler onerror;
attribute EventHandler onfocus;
+ attribute EventHandler onfullscreenchange;
+ attribute EventHandler onfullscreenerror;
attribute EventHandler onhashchange;
attribute EventHandler oninput;
attribute EventHandler oninvalid;
@@ -79189,11 +79216,21 @@ x === this; // true
+
+ - The sandboxed fullscreen browsing context flag
+
+ -
+
+
This flag prevents content from using the requestFullScreen() method.
+
+
+
When the user agent is to parse a sandboxing directive, given a string input and a sandboxing flag set output, it must
- run the following steps:
+ title="">input, a sandboxing flag set output, and
+ optionally an allow fullscreen flag, it must run the following steps:
@@ -79253,7 +79290,7 @@ x === this; // true
The sandboxed pointer lock browsing context flag, unless tokens contains the allow-pointer-lock
+ title="attr-iframe-sandbox-allow-pointer-lock">allow-pointer-lock
keyword.
The sandboxed scripts browsing context flag, unless
+ The sandboxed fullscreen browsing context flag, unless the allow fullscreen flag was passed to the parse a sandboxing
+ directive flag.
+
@@ -79680,6 +79721,8 @@ x === this; // true
+ Fully exit fullscreen.
+
Prompt to
unload the active document of the specified browsing context. If the user
@@ -80735,6 +80778,21 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O
Implement the sandboxing for the Document .
+ -
+
+
If the active sandboxing flag set of the Document 's
+ browsing context or any of its ancestor
+ browsing contexts (if any) have the sandboxed fullscreen browsing context
+ flag set, then skip this step.
+
+ If the Document 's browsing context has a browsing context
+ container and it is either not an iframe element, or it does not have the
+ allowfullscreen attribute specified, or its
+ Document does not have the fullscreen enabled flag set, then also
+ skip this step.
+
+ Otherwise, set the Document 's fullscreen enabled flag.
+
@@ -86072,6 +86130,8 @@ typedef OnErrorEventHandlerNonNull? OnErrorEventHandler;
onblur | blur
| onerror | error
| onfocus | focus
+ | onfullscreenchange | fullscreenchange
+ | onfullscreenerror | fullscreenerror
| onhashchange | hashchange
| onload | load
| onmessage | message
@@ -115167,6 +115227,8 @@ if (s = prompt('What is your name?')) {
// attribute EventHandler onblur;
attribute EventHandler onerror;
// attribute EventHandler onfocus;
+ attribute EventHandler onfullscreenchange;
+ attribute EventHandler onfullscreenerror;
attribute EventHandler onhashchange;
// attribute EventHandler onload;
attribute EventHandler onmessage;
@@ -115195,6 +115257,8 @@ if (s = prompt('What is your name?')) {
onblur
onerror
onfocus
+ onfullscreenchange
+ onfullscreenerror
onhashchange
onload
onmessage
@@ -117267,6 +117331,8 @@ if (s = prompt('What is your name?')) {
onblur ;
onerror ;
onfocus ;
+ onfullscreenchange ;
+ onfullscreenerror ;
onhashchange ;
onload ;
onmessage ;
@@ -117712,6 +117778,7 @@ if (s = prompt('What is your name?')) {
name ;
sandbox ;
seamless ;
+ allowfullscreen ;
width ;
height |
HTMLIFrameElement |
@@ -119008,6 +119075,11 @@ if (s = prompt('What is your name?')) {
form
| URL to use for form submission
| Valid non-empty URL potentially surrounded by spaces
+ |
+ allowfullscreen
+ | iframe
+ | Whether to allow the iframe 's contents to use requestFullScreen()
+ | Boolean attribute
|
alt
| area ;
@@ -120071,6 +120143,18 @@ if (s = prompt('What is your name?')) {
| focus event handler
| Event handler content attribute
+ |
+ onfullscreenchange
+ | body
+ | fullscreenchange event handler for Window object
+ | Event handler content attribute
+
+ |
+ onfullscreenerror
+ | body
+ | fullscreenerror event handler for Window object
+ | Event handler content attribute
+
|
onhashchange
| body
| |
---|
|
---|