- From: Alvin Ji <notifications@github.com>
- Date: Tue, 19 Dec 2023 16:31:01 -0800
- To: w3c/pointerlock <pointerlock@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/pointerlock/pull/49/review/1789898761@github.com>
@alvinjiooo 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:
I am not sure whether we need to add [=relevant global=] after [=this=], because in https://html.spec.whatwg.org/multipage/webappapis.html#queue-an-element-task, it is expecting "element" as input then it use element's relevant global object internally inside it's algorithm.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/pointerlock/pull/49#discussion_r1432062237
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/pointerlock/pull/49/review/1789898761@github.com>
Received on Wednesday, 20 December 2023 00:31:07 UTC