Re: [w3c/pointerlock] Add lock options to requestPointerLock (#49)

@marcoscaceres commented on this pull request.



>            </p>
+          <ol>
+            <li>Let <var>promise</var> be [=a new promise=].
+            </li>
+            <li>When a window is in focus, if the [=this=]'s [=shadow-including
+            root=]is the [=navigable/active document=] of a [=Document/browsing
+            context=] (or has an ancestor browsing context) which is not in
+            focus:
+              <ol>
+                <li>[=Queue an element task=] on the [=user interaction task
+                source=], given this, to perform the following steps:
+                  <ol>
+                    <li>[=Fire an event=] named {{pointerlockerror}} at
+                    [=this=]'s [=Node/node document=].
+                    </li>
+                    <li>[=Reject=] <var>promise</var> with a

```suggestion
                    <li>[=Reject=] |promise| with a
```

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

Message ID: <w3c/pointerlock/pull/49/review/1700342617@github.com>

Received on Thursday, 26 October 2023 18:36:46 UTC