Closed Bug 1695664 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 27836 - [WIP] Trailing spaces that hang don't contribute to intrinsic size

Categories

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

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Javier Fern\xc3\xa1ndez Garc\xc3\xada-Boente <jfernandez@igalia.com>' wrote:

[WIP] Trailing spaces that hang don't contribute to intrinsic size

During the min-content contribution we should use the non-hangable run
end, unless the white-space property is set to 'break-spaces'.

Additionally, we should ensure that hanging trailing spaces doesn't
account for the NGItemResult's inline size.

Bug: 972992, 1071928
Change-Id: Ife1b3212164b1494e822fa141cd44896e6359ef9
Reviewed-on: https://chromium-review.googlesource.com/2418678
WPT-Export-Revision: e0c744adb66d7f7c9e50773625f08d8c823ac17c

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 15 tests

Status Summary

Firefox

PASS: 13
FAIL: 2

Chrome

PASS: 11
FAIL: 4

Safari

PASS: 9
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-text/overflow-wrap/overflow-wrap-min-content-size-009.html: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-text/word-break/word-break-min-content-007.html: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e7c814cc2b0e [wpt PR 27836] - Trailing spaces that hang don't contribute to intrinsic size, a=testonly https://hg.mozilla.org/integration/autoland/rev/687330a7a38b [wpt PR 27836] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.