Summary: | Implement caretPositionFromPoint() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | ahmad.saleem792, ap, ben, bfulgham, cdumez, karlcow, rniwa, sebastianzartner, simon.fraser, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Simon Fraser (smfr)
2017-05-15 15:04:53 PDT
WPT test cases fail in Safari 15.6 on macOS 12.5 - https://wpt.fyi/results/css/cssom?label=master&label=experimental&aligned&q=caretpositionfrompoint Only Firefox seems to pass them so far. I found that it doesn't return the element within the shadow DOM and looked for a way to get it. There doesn't appear to be one yet. A shadowRoots parameter was added to the draft: https://github.com/w3c/csswg-drafts/pull/10200 https://github.com/w3c/csswg-drafts/blob/main/cssom-view-1/Overview.bs#L1018 https://drafts.csswg.org/cssom-view-1/#extensions-to-the-document-interface |