Bug 286941
| Summary: | Enable document.caretPositionFromPoint() by default | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Rob Buis <rbuis> |
| Component: | DOM | Assignee: | Aditya Keerthi <akeerthi> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | akeerthi, annevk, koivisto, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 287472, 287796 | ||
| Bug Blocks: | |||
Rob Buis
Enable caretPositionFromPoint() by default, it was implemented in https://bugs.webkit.org/show_bug.cgi?id=172137.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/144101675>
Anne van Kesteren
Does this work well for SVG? In https://github.com/WebKit/WebKit/pull/39814 I ran into an issue that when SVG is inside a shadow tree and you attempt to hit test it, you don't get the host element back. I suspect this API has the same flaw and could thus be used to detect shadow trees. Please make sure this is tested before enabling.
Anne van Kesteren
See bug 287472 for the issue with SVG, I very much expect it would impact this API as well and I don't think we should enable it with that bug in place.
Anne van Kesteren
I found another issue with media elements: bug 287796.
Aditya Keerthi
Pull request: https://github.com/WebKit/WebKit/pull/49043
EWS
Committed 298336@main (8a14a6497b6d): <https://commits.webkit.org/298336@main>
Reviewed commits have been landed. Closing PR #49043 and removing active labels.