Re: [w3c/pointerlock] Update for Shadow DOM (#4)

@hayatoito I updated the algorithm, dropping the condition to check if the target is shadow-including descendant of the context object or not.  Without the condition check, the case should be covered by the same tree check of retargeting result and context object.  Alternatively, if we keep the shadow-including descendant check, we can drop the same tree check.
I think it is better to drop the shadow-including descendant check to keep in sync with the current activeElement spec for future maintenance cost.

What do you think?


---
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/4#issuecomment-231296442

Received on Friday, 8 July 2016 07:45:40 UTC