Closed Bug 1818143 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38638 - [text-balance] Set `text-wrap` to `wrap` when `white-space` is set

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 38638 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/38638
Details from upstream follow.

Koji Ishii <kojii@chromium.org> wrote:

[text-balance] Set text-wrap to wrap when white-space is set

The white-space will become a shorthand in the future,
mapping to text-space-collapse, text-wrap, and
text-space-trim[1].

In order to mitigate the future compat risk of shipping this
shorthand set text-wrap to wrap when white-space is set
in the same way as crrev.com/c/4189506 for baseline-source
and vertical-align.

[1] https://w3c.github.io/csswg-drafts/css-text-4/#propdef-white-space

Bug: 1251079, 1417543
Change-Id: Ib436ada70cfcdf8a6faa4af817812bec74f20a42

Reviewed-on: https://chromium-review.googlesource.com/4279627
WPT-Export-Revision: 1030388e24d7d014c08df6a0bc4c944dc0c6f43a

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6d4f9d2fd66 [wpt PR 38638] - [balance-text] Set `text-wrap` to `wrap` when `white-space` is set, a=testonly https://hg.mozilla.org/integration/autoland/rev/95fbaa844f4c [wpt PR 38638] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.