https://www.w3.org/Bugs/Public/show_bug.cgi?id=24638
Bug ID: 24638 Summary: [Shadow]: elementFromPoint should return the host when you hit a Text node Product: WebAppsWG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: Component Model Assignee: dglaz...@chromium.org Reporter: espr...@gmail.com QA Contact: public-webapps-bugzi...@w3.org CC: m...@w3.org, public-webapps@w3.org Blocks: 14978 Seeing as we don't want to throw an exception when you put a Text node as a child of a ShadowRoot, we should at the very least return the host element so that hit testing in a ShadowRoot that has direct text children does something sensible. We probably need to make it return the host if you hit a border/background color too? (this also makes sense since you can querySelector(":host"), so the host really is in the same scope as the ShadowRoot. -- You are receiving this mail because: You are on the CC list for the bug.