- From: Takayoshi Kochi <notifications@github.com>
- Date: Thu, 30 Jun 2016 19:26:16 -0700
- To: w3c/pointerlock <pointerlock@noreply.github.com>
- Cc:
- Message-ID: <w3c/pointerlock/pull/4/r69239818@github.com>
> + <dl title='partial interface DocumentOrShadowRoot' class='idl'> > + <dt>readonly attribute Element? pointerLockElement</dt> > + <dd> > + <dfn title="pointerLockElement"></dfn> > + > + <p>If the element, which is set as the target for mouse events while the pointer is > + locked, is a > + <a href="https://dom.spec.whatwg.org/#concept-shadow-including-descendant">shadow-including descendant</a> of the > + <a href="http://dom.spec.whatwg.org/#context-object">context object</a>, > + return the result of the following algorithm: > + <ol> > + <li>Let <var>target</var> be the target for mouse events while the pointer is locked. > + <li>If <var>target</var> is in the same tree as the > + <a href="http://dom.spec.whatwg.org/#context-object">context object</a>, > + let <var>adjusted-target</var> be <var>target</var></li> > + <li>Otherwise: let <var>adjusted-target</var> be the shadow host which is a Updated to return the nearest one in the ancestry. PTAL. --- 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/files/aff383515f13558170c159b59c8abc0157f8c473#r69239818
Received on Friday, 1 July 2016 02:26:52 UTC