Bug 287796
| Summary: | document.caretPositionFromPoint over a video element returns null | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anne van Kesteren <annevk> |
| Component: | DOM | Assignee: | Aditya Keerthi <akeerthi> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | akeerthi, bfulgham, lwarlow, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/54065 | ||
| Bug Depends on: | |||
| Bug Blocks: | 286941 | ||
Anne van Kesteren
Instead you get null.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/145477560>
Brent Fulgham
Should this be about `document. caretPositionFromPoint`?
Anne van Kesteren
I'm pretty sure both use the same underlying infrastructure and we need to fix that as this ends up exposing shadow roots when they use video elements.
Aditya Keerthi
The above is true, but going to retitle to mention `caretPositionFromPoint` since that's the standardized interface and is what is primarily motivating fixing this.
Aditya Keerthi
Pull request: https://github.com/WebKit/WebKit/pull/48754
Aditya Keerthi
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/54065
Luke Warlow
I think this bug was fixed as part of the SVG PR right?
Aditya Keerthi
*** This bug has been marked as a duplicate of bug 287472 ***
Aditya Keerthi
Yes, thank you for the reminder!