Closed Bug 2035670 Opened 18 days ago Closed 9 days ago

[wpt-sync] Sync PR 59502 - layout: Keep all trailing whitespace after unparented table-levels

Categories

(Core :: CSS Parsing and Computation, 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 59502 into mozilla-central (this bug is closed when the sync is complete).

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

Oriol Brufau <obrufau@igalia.com> wrote:

layout: Keep all trailing whitespace after unparented table-levels

A sequence of table-level boxes gets wrapped inside an anonymous table box. This includes interleaved spaces (which table layout will skip), but not trailing spaces, which need to be kept after the table.

We were only keeping the last such whitespace node, but it's possible to have more than one whitespace node. So this patch keeps all nodes after the last table-level element.

Testing: Adding new WPT
Fixes: #<!-- nolink -->44549

Reviewed in servo/servo#44550

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 374 tests and 42 subtests

Status Summary

Firefox

OK : 2
PASS: 1[GitHub] 84[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 449[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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 7

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/94f6b55d0b6d https://hg.mozilla.org/integration/autoland/rev/81eb07b6f828 [wpt PR 59502] - layout: Keep all trailing whitespace after unparented table-levels, 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.