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

@marcoscaceres commented on this pull request.



> @@ -335,19 +336,19 @@ <h2>
           <ol class="algorithm">
             <li>Let |promise:Promise| 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 [=tree/ancestor=] [=browsing context=]) which is not in
-            focus:
+            <li>When a {{Window/window}} is in [=Window/focus=], if the [=this=]'s
+            [=shadow-including root=] is the [=navigable/active document=] of a
+            [=Document/browsing context=] (or has an [=tree/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:

oh! you are right! My bad... I forgot [=this=] is an element. 

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

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

Received on Wednesday, 20 December 2023 06:08:34 UTC