From 74c8b23489349ce4ba635c4a0b14e74232d45a6b Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Mon, 31 Oct 2022 16:25:27 +1300 Subject: [PATCH 1/4] Unlock the screen orientation when exiting fullscreen --- fullscreen.bs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/fullscreen.bs b/fullscreen.bs index 877f192..febc489 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -18,12 +18,6 @@ spec:infra type:dfn; text:string -
-urlPrefix: https://w3c.github.io/screen-orientation/#dfn-
-    type: dfn
-        text: triggered by a user generated orientation change
-
-
 {
     "CSS": {
@@ -87,7 +81,6 @@ its node document's top layer.
  
  • Unfullscreen elements whose fullscreen flag is set, within document's top layer, except for document's fullscreen element. -

  • Exit fullscreen document. @@ -266,8 +259,7 @@ are:

  • Fullscreen is supported. -

  • This's relevant global object has transient activation or the - algorithm is triggered by a user generated orientation change. +

  • This's relevant global object has transient activation.

  • Return promise, and run the remaining steps in parallel. @@ -465,6 +457,8 @@ could be an open <{dialog}> element.

  • Return promise, and run the remaining steps in parallel. +

  • Run the [=fully unlock orientation steps=] with doc. +

  • If resize is true, resize doc's viewport to its "normal" dimensions.

  • If doc's fullscreen element is null, then resolve promise with From a6076f8ecb88e9dec01887bb51c30b9228bee300 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Mon, 31 Oct 2022 16:46:54 +1300 Subject: [PATCH 2/4] fixup --- fullscreen.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fullscreen.bs b/fullscreen.bs index febc489..b653618 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -457,7 +457,7 @@ could be an open <{dialog}> element.

  • Return promise, and run the remaining steps in parallel. -

  • Run the [=fully unlock orientation steps=] with doc. +

  • Run the [=fully unlock the screen orientation steps=] with doc.

  • If resize is true, resize doc's viewport to its "normal" dimensions. From 6b76105c5f3df5daafd87cad65115cbc257fd586 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Tue, 1 Nov 2022 11:14:52 +1300 Subject: [PATCH 3/4] fixup --- fullscreen.bs | 1 + 1 file changed, 1 insertion(+) diff --git a/fullscreen.bs b/fullscreen.bs index b653618..db76d40 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -81,6 +81,7 @@ its node document's top layer.

  • Unfullscreen elements whose fullscreen flag is set, within document's top layer, except for document's fullscreen element. +

  • Exit fullscreen document. From 07cd6c6fb36a3939d95ca4f9c07c79b5c44f2769 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Thu, 10 Nov 2022 13:29:24 +1300 Subject: [PATCH 4/4] Only fully unlock the screen orientation --- fullscreen.bs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fullscreen.bs b/fullscreen.bs index db76d40..8bd7b3f 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -18,6 +18,12 @@ spec:infra type:dfn; text:string

  • +
    +urlPrefix: https://w3c.github.io/screen-orientation/#dfn-
    +    type: dfn
    +        text: triggered by a user generated orientation change
    +
    +
     {
         "CSS": {
    @@ -260,7 +266,8 @@ are:
     
        
  • Fullscreen is supported. -

  • This's relevant global object has transient activation. +

  • This's relevant global object has transient activation or the + algorithm is triggered by a user generated orientation change.

  • Return promise, and run the remaining steps in parallel.