[wpt-sync] Sync PR 19541 - [LayoutNG] Fix line breaking when `font-size: 0`
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 19541 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/19541
Details from upstream follow.
Koji Ishii <kojii@chromium.org> wrote:
[LayoutNG] Fix line breaking when
font-size: 0This patch fixes line breaking when break opportunities have
font-size: 0.
font-size: 0makes all characters at position 0. This
confuses when |NGLineBreaker| needs to rewind, and tries to
find the break opportunity before the current one.This patch fixes it by using |PreviousBreakOpportunity| in
such case.Bug: 1006127
Change-Id: I449d6f8aaba4deccd458c5e077920b1a8bf79305Reviewed-on: https://chromium-review.googlesource.com/1843991
WPT-Export-Revision: a11487f9fb95dcf4ee52257aca3bd2cb1e58ecfc
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
Comment 6•7 years ago
|
||
| bugherder | ||
Description
•