- From: <bugzilla@jessica.w3.org>
- Date: Sun, 05 Jul 2015 22:38:39 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28902 Bug ID: 28902 Summary: [Shadow] How should mouse (&co) events be targeted in case user clicks on a text node Product: WebAppsWG Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Component Model Assignee: dglazkov@chromium.org Reporter: bugs@pettay.fi QA Contact: public-webapps-bugzilla@w3.org Mouse events should be targeted to nearest Element, in general parentNode. But (1) what if ShadowRoot has just textnodes as children? Should the ShadowRoot itself be in the path? I think not. Hit testing should just target the host. (2) what if a textnode is distributed? Should the event propagate through the Shadow DOM? I think yes. In Gecko I'll make the textnode -> some_element to use the nearest Element in the final flattened tree. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Sunday, 5 July 2015 22:38:42 UTC