[wpt-sync] Sync PR 60099 - Fix crash when `text-transform` change the text length
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 60099 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60099
Details from upstream follow.
Koji Ishii <kojii@chromium.org> wrote:
Fix crash when
text-transformchange the text lengthWhen the
text-transformproperty change the text length,
InlineNodesimply adjusted the text length forfirst-line.
This could cause crashes inLineBreaker::HandleControlItem
becauseInlineItemand text could be out of sync.As Blink now supports
TextOffsetMapinApplyTextTransform,
this patch supports adjustingInlineItemand
InlineItemSegmentsusing theTextOffsetMap.Fixed: 449295641
Change-Id: I8317e202a1007c6c604187134e31e4ebbcd6d136
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7867142
Commit-Queue: Koji Ishii \<kojii@chromium.org>
Commit-Queue: Kent Tamura \<tkent@chromium.org>
Auto-Submit: Koji Ishii \<kojii@chromium.org>
Reviewed-by: Kent Tamura \<tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1634730}
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 1•6 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=682f196e167533ff2329897d8919c5b86951b9f6
| Assignee | ||
Comment 2•6 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS : 1
Chrome
CRASH: 1
Safari
PASS : 1
Links
Comment 4•6 months ago
|
||
| bugherder | ||
Description
•