[wpt-sync] Sync PR 24265 - Initialize text_offset for layout-generated text items
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24265 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24265
Details from upstream follow.
Koji Ishii <kojii@chromium.org> wrote:
Initialize text_offset for layout-generated text items
|NGLogicalLineItem::text_offset| is not used for layout-
generated text items, but |NGLineTruncator| may try to
truncate it in some edge cases since r779756
\<crrev.com/c/2230583>.This patch initializes |text_offset| for such items to
avoid accidental reads. Trying to truncate hyphens is not
correct, but this will be in future patches.Bug: 1097042
Change-Id: Ife1f4def3568e387a17422c547e676dd2d88dac1Reviewed-on: https://chromium-review.googlesource.com/2256100
WPT-Export-Revision: eaa705897214840e3f398f27a3582c25e3031ed1
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
PASS: 1
Chrome
OK : 1
PASS: 1
Safari
OK : 1
PASS: 1
Links
Comment 4•4 years ago
|
||
bugherder |
Description
•