WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 287472
287796
document.caretPositionFromPoint over a video element returns null
https://bugs.webkit.org/show_bug.cgi?id=287796
Summary
document.caretPositionFromPoint over a video element returns null
Anne van Kesteren
Reported
2025-02-17 08:12:45 PST
Instead you get null.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-02-24 08:13:16 PST
<
rdar://problem/145477560
>
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
Pull request:
https://github.com/WebKit/WebKit/pull/48754
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.
Top of Page
Format For Printing
XML
Clone This Bug