From ec701ec52748c77951142ff5ec52101e2a9ba440 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Mon, 24 Oct 2016 16:10:59 +1100 Subject: [PATCH] Deny request on invisible document Fixes #58. --- fullscreen.bs | 3 +++ fullscreen.html | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fullscreen.bs b/fullscreen.bs index 123e230..32c6e1b 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -20,6 +20,7 @@ Boilerplate: omit feedback-header, omit conformance, omit index, omit idl-index
@@ -194,6 +195,8 @@ if all of the following are true, and false otherwise:
  
  • element's node document is allowed to use the feature indicated by attribute name allowfullscreen. + +

  • element's node document's hidden attribute returns false.

    The requestFullscreen() method, when invoked, must run diff --git a/fullscreen.html b/fullscreen.html index 623bd1c..288bf6d 100644 --- a/fullscreen.html +++ b/fullscreen.html @@ -71,7 +71,7 @@

    Fullscreen API

    -

    Living Standard — Last Updated

    +

    Living Standard — Last Updated

    @@ -219,6 +219,8 @@

    4.

    element’s node document is allowed to use the feature indicated by attribute name allowfullscreen.

    +
  • +

    element’s node document’s hidden attribute returns false.

    The requestFullscreen() method, when invoked, must run these steps: