Closed Bug 1587083 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 19570 - [css-text] Implement the 'overflow-wrap: anywhere' feature

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Javier Fernandez <jfernandez@igalia.com> wrote:

[css-text] Implement the 'overflow-wrap: anywhere' feature

There has been a long standing interoperability issues with the
'word-break: break-word' feature, implemented in Blink and WebKit but
not in Firefox, since it was declared as deprecated. This feature can't
be removed to avoid compatibility issues, but also because it provide
a behavior that web authors really need, which is that breaking
opportunities are considered in th min-content size of the box.

The CSS WG resolved [1] that the best approach is to add a new value to
the overflow-wrap CSS property, that provides basically the same behavior
than 'overflow-wrap: break-word' but allowing the breaking opportunities
to be part of the min-content size computation.

[1] https://github.com/w3c/csswg-drafts/issues/2682

Bug: 905315
Change-Id: I89bbc78f68f425dbad714c8546bc72c530887eb3
Reviewed-on: https://chromium-review.googlesource.com/1838194
WPT-Export-Revision: 9d54a5b7aaf40907cc13104760fa51df8200465e

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
PR 19570 applied with additional changes from upstream: 87d9d891e4f0c2276cc4ad4bbd7e101a7c9b05d9
Component: CSS Parsing and Computation → Layout: Text and Fonts
Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/52c6db0b33d6
[wpt PR 19570] - [css-text] Implement the 'overflow-wrap: anywhere' feature, a=testonly
https://hg.mozilla.org/integration/autoland/rev/935dd6243fad
[wpt PR 19570] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.