[wpt-sync] Sync PR 17376 - [css-text] Hang sequence of white spaces that may otherwise overflow
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 17376 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/17376
Details from upstream follow.
Javier Fernandez <jfernandez@igalia.com> wrote:
[css-text] Hang sequence of white spaces that may otherwise overflow
When a item overflows, we try to find a safe position that breaks the
item to avoid it. However, we should consider that sequence of white
space characters might have to be hanged, honoring the white-space
property.We manage that case correctly the overflowing text is part of a
previously broken (kSuccess result from BreakText) item. However, if
there is an item that starts with a white space sequence and it
overflows, we always try to break it instead of hanging.This patch address the issue by detecting such overflowing item,
verifying that it has a white space sequence and the white-space
property's value allows hanging it. In that case, we should rewind
the iterator, so that the further item_results are removed and skip
the rest of the overflowing handling logic.Bug: 973358
Change-Id: I0e2ad5c5740f4ce592dd83b8ff3d224dbb45117e
Reviewed-on: https://chromium-review.googlesource.com/1662451
WPT-Export-Revision: c2edff84a5a376e3a113d9f1604c01a0c2ce3e08
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Comment 7•6 years ago
|
||
bugherder |
Description
•