From ecb375bf3c18da510a7bcf90f8ae776129e3af26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Mon, 5 Dec 2022 15:56:24 +1100 Subject: [PATCH] Add page visibility change steps for Screen Orientation See https://github.com/w3c/screen-orientation/pull/240 and https://github.com/w3c/screen-orientation/issues/219. Part of #7396. --- source | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/source b/source index a9babb72feb..edbda3995b3 100644 --- a/source +++ b/source @@ -4288,6 +4288,15 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute +
Screen Orientation
+
+

The following terms are defined in Screen Orientation:

+ + +
+
Storage

The following terms are defined in Storage:

@@ -75679,6 +75688,9 @@ END:VCARD
  • Set document's visibility state to visibilityState.

  • +
  • Run the screen orientation change steps with document.

  • +
  • Run any page visibility change steps which may be defined in other specifications, with visibility state and document.

    @@ -75687,9 +75699,8 @@ END:VCARD from here into their specifications directly, instead of using the page visibility change steps hook, to ensure well-defined cross-specification call order. As of the time of this writing the following specifications are known to have page visibility change - steps, which will be run in an unspecified order: Device Posture API, - Screen Orientation API, and Web NFC.

    + steps, which will be run in an unspecified order: Device Posture API + and Web NFC.

  • Fire an event named visibilitychange at @@ -131466,7 +131477,7 @@ INSERT INTERFACES HERE

    An HTTP Status Code for Indicating Hints, K. Oku. IETF.
    [SCREENORIENTATION]
    -
    Screen Orientation API, M. Lamouri, M. Cáceres. W3C.
    +
    Screen Orientation, M. Cáceres. W3C.
    [SCSU]
    (Non-normative) UTR #6: A Standard Compression Scheme For Unicode, M. Wolf, K. Whistler, C. Wicksteed, M. Davis, A. Freytag, M. Scherer. Unicode Consortium.