Re: [w3c/pointerlock] Use the new "retargeting algorighm" in the DOM spec. (#8)

DOM spec has unnatural English grammar,

Example from that spec that make sense:

"Run the *retargeting steps* with event"

But this doesn't:

"Let relatedTarget be the result of invoking *retargeting* event’s
relatedTarget against target if event’s relatedTarget is non-null, and null
otherwise"

It would make sense as:

"Let relatedTarget be the result of *retargeting* event’s relatedTarget
against target if event’s relatedTarget is non-null, and null otherwise"

"Let relatedTarget be the result of invoking *retarget* on event’s
relatedTarget against target if event’s relatedTarget is non-null, and null
otherwise"

"Let relatedTarget be the result of invoking *retarget* against target with
event’s relatedTarget if it is non-null, and null otherwise"

So, for Pointer Lock I would suggest:

"returns the result of *retargeting* with the context object..."

On Mon, Aug 29, 2016 at 7:14 PM, Takayoshi Kochi <notifications@github.com>
wrote:

> @scheib <https://github.com/scheib> Could you take a look?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/pointerlock/pull/8#issuecomment-243313438>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AAXnm2eVtSm-FEPmMi4v9hOIXIPycFAzks5qk5H5gaJpZM4JvW11>
> .
>


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

Received on Tuesday, 30 August 2016 02:47:59 UTC