Closed Bug 2083468 Opened 1 month ago Closed 24 days ago

[wpt-sync] Sync PR 63815 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325502

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alan Baradlay <zalan@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325502

WebKit export from bug: display:<!---->contents text inherits the wrong style after its parent span'<!---->s style changes

<pre>
display:contents text inherits the wrong style after its parent span's style changes

An inline box propagated its new style to every anonymous child, including the anonymous inline that carries the display: contents style for a text child, so <span><div style="display: contents; color: green">text</div></span> turned the text to the span's color on the span's next style change.

An inline box now updates only its anonymous block and ruby children when its style changes, like a block does. The ruby filter also includes the anonymous ruby base. The anonymous inline carrying the display:contents style is no longer overwritten.

An inside list marker's image lost that propagation, so its style change now refreshes the marker's generated content the way an outside marker already does.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=325502">https://bugs.webkit.org/show_bug.cgi?id=325502</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322092@main">https://commits.webkit.org/322092@main</a>
</pre>

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

CI Results

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

Total 252 tests

Status Summary

Firefox

OK : 34
PASS: 1[GitHub] 3[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 472[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 608[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-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 609[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 94[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 172[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 173[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-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

PASS: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.