Bug 287796

Summary: document.caretPositionFromPoint over a video element returns null
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: DOMAssignee: 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
Reported 2025-02-17 08:12:45 PST
Instead you get null.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-02-24 08:13:16 PST
Brent Fulgham
Comment 2 2025-03-31 13:56:42 PDT
Should this be about `document. caretPositionFromPoint`?
Anne van Kesteren
Comment 3 2025-03-31 23:27:34 PDT
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
Comment 4 2025-07-30 14:57:42 PDT
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
Comment 5 2025-07-30 17:54:51 PDT
Aditya Keerthi
Comment 6 2025-07-30 22:29:38 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/54065
Luke Warlow
Comment 7 2025-08-21 09:32:47 PDT
I think this bug was fixed as part of the SVG PR right?
Aditya Keerthi
Comment 8 2025-08-21 13:39:11 PDT
*** This bug has been marked as a duplicate of bug 287472 ***
Aditya Keerthi
Comment 9 2025-08-21 13:39:29 PDT
Yes, thank you for the reminder!
Note You need to log in before you can comment on or make changes to this bug.