[wpt-sync] Sync PR 16159 - [css-text] Consider former breaking opportunities before breaking a word
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 16159 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/16159
Details from upstream follow.
Javier Fernandez <jfernandez@igalia.com> wrote:
[css-text] Consider former breaking opportunities before breaking a word
When using the break-spaces+break-word combination, there are breaking
opportunities before the first whitespace after a word. However, these
should be avoided if there are previous soft-breaking opportunities in
the line.We were only considering single leading whitespaces as one of this
former breaking opportunities, which leads to wrong line-breaking
behaviors like the one described in the bug.With this change we try to generalize the pattern of using one of this
former breaking opportunities, but maximizing the line's length.Bug: 905315
Change-Id: I289e44277a3953290f865efb28e3c83deb31fa03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1546098
Reviewed-by: Koji Ishii \<kojii@chromium.org>
Commit-Queue: Javier Fernandez \<jfernandez@igalia.com>
Cr-Commit-Position: refs/heads/master@{#646230}
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=e549c38703685daef6be047cf9e5f38b82bc3567
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=30dde88264418f27d83b1c5b18adc3bbe8c43c81
Assignee | ||
Comment 3•5 years ago
|
||
Failed to get results from try push
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=6e4d082929869a97d06224b8308ef87f0649da24
Assignee | ||
Comment 5•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5c24972bb350a3ab07d36883a4855a82d7d10b46
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/c0f6b11a56a7 [wpt PR 16159] - [css-text] Consider former breaking opportunities before breaking a word, a=testonly
Comment 7•5 years ago
|
||
bugherder |
Description
•