Closed Bug 2035688 Opened 19 days ago Closed 9 days ago

[wpt-sync] Sync PR 59396 - layout: Use a consistent definition of "document white space"

Categories

(Core :: Layout: Flexbox, task, P4)

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Martin Robinson <mrobinson@igalia.com> wrote:

layout: Use a consistent definition of "document white space"

Because the definition of "document white space" differed in various
places in Servo layout, it was possible for the flexbox container
builder to expect to be able to build an inline formatting context from
text that was ultimately determined to be empty by the inline formatting
context builder. This led to a BoxSlot not being properly filled (a
thing that should never happen) and an assertion failing.

This change fixes that issue.

Testing: This change adds a new WPT crash test.
Fixes: #<!-- nolink -->43550.

Reviewed in servo/servo#44424

Component: web-platform-tests → Layout: Flexbox
Product: Testing → Core

CI Results

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

Total 1312 tests and 12 subtests

Status Summary

Firefox

OK : 349
PASS: 1[GitHub] 25[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 4401[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 5304[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 5308[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 5309[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 128[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 157[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 158[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 159[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/04145335f282 https://hg.mozilla.org/integration/autoland/rev/e5ccb36ac370 [wpt PR 59396] - layout: Use a consistent definition of "document white space", a=testonly
Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.