setPointerCapture should fire InvalidStateError for Shadow DOM elements |
|
Issue descriptionLooks like we allow setPointerCapture for elements in a Shadow tree: Node::isConnected() is by definition true for such elements. https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/dom/Element.cpp?rcl=195db4ec8d8bc4fc650015fdd86de98ce81748d1&l=3372 https://www.google.com/url?q=https://dom.spec.whatwg.org/#connected Original discussion: https://github.com/w3c/pointerevents/issues/221
,
Apr 2 2018
Just to clarify, I *think* what was discussed and agreed in PE discussion was that setPointerCapture *should* work for Shadow DOM elements, right? |
|
►
Sign in to add a comment |
|
Comment 1 by nzolghadr@chromium.org
, Mar 22 2018