Re: [w3c/screen-orientation] Handle page visibility changes (PR #220)

@marcoscaceres commented on this pull request.



> +        </li>
+        <li>Let |newAngle| be the corresponding angle from the <a>screen
+        orientation values table</a>.
+        </li>
+        <li>If |newType| and |newAngle| are equal to |document|'s [=associated
+        `Screen`=]'s {{ScreenOrientation}}'s {{ScreenOrientation/[[type]]}} and
+        {{ScreenOrientation/[[angle]]}} respectively, terminate these steps.
+        </li>
+        <li>[=Queue a task=] to on the [=DOM manipulation task source=] to:
+          <ol>
+            <li>Let |screen| |document|'s [=relevant global object=]'s
+            [=associated `Screen`=].
+            </li>
+            <li>Set |screen|'s {{ScreenOrientation/[[angle]]}} to |newAngle|.
+            </li>
+            <li>Set |screen|'s {{ScreenOrientation/[[angle]]}} to |newType|.

```suggestion
            <li>Set |screen|'s {{ScreenOrientation/[[type]]}} to |newType|.
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/220#pullrequestreview-1141809649
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/screen-orientation/pull/220/review/1141809649@github.com>

Received on Friday, 14 October 2022 04:47:56 UTC