Closed Bug 2080527 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63507 - layout: Don't treat `display: contents` as `none` on replaced elements

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Oriol Brufau <obrufau@igalia.com> wrote:

layout: Don't treat display: contents as none on replaced elements

As resolved in https://github.com/w3c/csswg-drafts/issues/14102, it's just that some specific elements need to adjust display: contents into none at computed value time, and this already happens in Stylo since https://github.com/servo/stylo/pull/484.

Servo shouldn't make display: contents behave as none on remaining replaced elements not present in the former list.

Testing: Adding a new test

Reviewed in servo/servo#48785

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/41151a5af0cf https://hg.mozilla.org/integration/autoland/rev/5c845aa0f2f9 [wpt PR 63507] - layout: Don't treat `display: contents` as `none` on replaced elements, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.