Open
Bug 1502369
Opened 5 years ago
Updated 1 year ago
Make elementFromPoint in ShadowRoot to follow the still undefined spec
Categories
(Core :: DOM: CSS Object Model, enhancement, P3)
Core
DOM: CSS Object Model
Tracking
()
NEW
People
(Reporter: smaug, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-needed)
This is yet to be defined in the spec. https://github.com/w3c/csswg-drafts/issues/556 Right now, IIRC, we return null.
Updated•5 years ago
|
Summary: Make elementFromPoint in ShadowRoot to return host if text is assigned to a slow → Make elementFromPoint in ShadowRoot to return host if text is assigned to a slot
Reporter | ||
Comment 2•5 years ago
|
||
though, this isn't quite as simple. https://github.com/w3c/csswg-drafts/issues/556#issuecomment-434491377 If host has display: contents and host is assigned and slot or slot's ancestor doesn't have display: contents, need to walk up in the tree to find some reasonable element.
Updated•5 years ago
|
Priority: -- → P3
Reporter | ||
Updated•5 years ago
|
Summary: Make elementFromPoint in ShadowRoot to return host if text is assigned to a slot → Make elementFromPoint in ShadowRoot to follow the still undefined spec
Updated•1 year ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•