WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
285023
Range.getClientRects should take surrogate pairs into account
https://bugs.webkit.org/show_bug.cgi?id=285023
Summary
Range.getClientRects should take surrogate pairs into account
Rob Buis
Reported
2024-12-20 08:13:06 PST
Range.getClientRects should take surrogate pairs into account, from
https://drafts.csswg.org/cssom-view-1/#dom-range-getclientrects
: "If the range covers a partial typographic character unit (e.g. half a surrogate pair or part of a grapheme cluster), the full typographic character unit must be included for the purpose of computing the bounds of the relevant DOMRect."
Attachments
Add attachment
proposed patch, testcase, etc.
Rob Buis
Comment 1
2024-12-20 08:20:40 PST
Pull request:
https://github.com/WebKit/WebKit/pull/38267
Radar WebKit Bug Importer
Comment 2
2024-12-27 08:14:13 PST
<
rdar://problem/142098484
>
EWS
Comment 3
2025-01-08 01:52:58 PST
Committed
288589@main
(7d8be0b05d9e): <
https://commits.webkit.org/288589@main
> Reviewed commits have been landed. Closing PR #38267 and removing active labels.
Ahmad Saleem
Comment 4
2025-07-16 17:53:02 PDT
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/53801
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