[wpt-sync] Sync PR 19002 - [LayoutNG] Fix incorrect rounding in ShapingLineBreaker
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 19002 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/19002
Details from upstream follow.
Koji Ishii <kojii@chromium.org> wrote:
[LayoutNG] Fix incorrect rounding in ShapingLineBreaker
This patch fixes the rounding the end position to the same
direction as the rounding the start position. Before this
change, the end position was rounded to the line-end
direction. This may have resulted in slightly larger
available space than the given one.Such an error can cause a large visual differences, because
|NGLineBreaker| determines the overflow by comparing the
result width to the available width, and if overflow occurs,
it assumes that it cannot break the result further.This patch also adds |ShapingLineBreaker::Result::is_overflow|
so that |ShapingLineBreaker| can communicate its overflow
status to the caller.Bug: 1002442
Change-Id: Iebee80117c9930eade029c45c561236b8916981aReviewed-on: https://chromium-review.googlesource.com/1797954
WPT-Export-Revision: c745eb0661a2ce142af493d52dc95d82c25f7d88
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=dc90f5b21a03d31febaf681901a9b224ae8e2225
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=78121f58573eee1c074171b9a5f80b76056ed355
Assignee | ||
Comment 3•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=f3e9cb0a30e8eef74baffdf01845b9b6948b5c34
Assignee | ||
Comment 4•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a37f20f242cc2dadf1aeb20bcb26ac0b1167564d
Assignee | ||
Comment 5•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=fa3593879d6e67cd9c95b9b77879f81f9d7d711c
Assignee | ||
Comment 6•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=be38e15f8aa0d9184be22d1017c90e2ba4814f06
Assignee | ||
Comment 7•5 years ago
|
||
Ran 1 tests and 1 subtests OK : 1 PASS : 1
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/52099744d468 [wpt PR 19002] - [LayoutNG] Fix incorrect rounding in ShapingLineBreaker, a=testonly
Comment 9•5 years ago
|
||
bugherder landing |
Comment 10•5 years ago
|
||
bugherder |
Description
•