Bug 285023
| Summary: | Range.getClientRects should take surrogate pairs into account | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Rob Buis <rbuis> |
| Component: | DOM | Assignee: | Rob Buis <rbuis> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | 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/53801 | ||
Rob Buis
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
Pull request: https://github.com/WebKit/WebKit/pull/38267
Radar WebKit Bug Importer
<rdar://problem/142098484>
EWS
Committed 288589@main (7d8be0b05d9e): <https://commits.webkit.org/288589@main>
Reviewed commits have been landed. Closing PR #38267 and removing active labels.
Ahmad Saleem
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/53801