diff --git a/fullscreen.bs b/fullscreen.bs index 70c585f..b43e520 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -184,12 +184,6 @@ if all of the following are true, and false otherwise:
element's namespace is the HTML namespace or
- element is an
- SVG svg
or
- MathML math
- element. [[!SVG]] [[!MATHML]]
-
element is in a document.
element's node document is allowed to use the feature indicated by @@ -208,14 +202,20 @@ these steps:
Let promise be a new promise.
If any of the following conditions are true, set error to true: +
If any of the following conditions are false, then set error to true:
The fullscreen element ready check for pending returns false. +
pending's namespace is the HTML namespace or
+ pending is an
+ SVG svg
or
+ MathML math
+ element. [[!SVG]] [[!MATHML]]
+
+
The fullscreen element ready check for pending returns true. -
This algorithm is not allowed to request fullscreen. +
This algorithm is allowed to request fullscreen.
Return promise, and run the remaining steps in parallel. @@ -261,7 +261,7 @@ these steps:
Otherwise, append doc to eventDocs.
If element is pending and pending is an <{iframe}> - element, set element's iframe fullscreen flag. + element, then set element's iframe fullscreen flag.
Fullscreen element within doc. @@ -327,7 +327,7 @@ false if context object's fullscreen element is null, and true oth document. -
If topLevelDoc is in docs, set resize to true. +
If topLevelDoc is in docs, then set resize to true.
Return promise, and run the remaining steps in parallel. diff --git a/fullscreen.html b/fullscreen.html index 1a16222..320e0eb 100644 --- a/fullscreen.html +++ b/fullscreen.html @@ -71,7 +71,7 @@
element’s namespace is the HTML namespace or element is an SVG svg
or MathML math
element. [SVG] [MATHML]
element is in a document.
Let promise be a new promise.
If any of the following conditions are true, set error to true:
+If any of the following conditions are false, then set error to true:
The fullscreen element ready check for pending returns false.
+pending’s namespace is the HTML namespace or pending is an SVG svg
or MathML math
element. [SVG] [MATHML]
The fullscreen element ready check for pending returns true.
This algorithm is not allowed to request fullscreen.
+This algorithm is allowed to request fullscreen.
Return promise, and run the remaining steps in parallel.
@@ -264,7 +264,7 @@Otherwise, append doc to eventDocs.
If element is pending and pending is an iframe
element, set element’s iframe fullscreen flag.
If element is pending and pending is an iframe
element, then set element’s iframe fullscreen flag.
Fullscreen element within doc.
@@ -312,7 +312,7 @@Let topLevelDoc be doc’s top-level browsing context’s document.
If topLevelDoc is in docs, set resize to true.
+If topLevelDoc is in docs, then set resize to true.
Return promise, and run the remaining steps in parallel.