Closed Bug 2086877 Opened 1 month ago Closed 20 days ago

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

Categories

(Core :: Layout: Generated Content, Lists, and Counters, 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 64106 into mozilla-central (this bug is closed when the sync is complete).

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

Alan Baradlay <zalan@apple.com> wrote:

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

WebKit export from bug: [<!---->list-<!---->marker]<!----> Opening a \<<!---->details><!----> makes its summary one pixel shorter

<pre>
[list-marker] Opening a <details> makes its summary one pixel shorter

<a href="https://commits.webkit.org/280433@main">280433@main</a> renders disclosure triangles with system-ui rather than with the font the marker inherited.
It gave RenderListMarker a font cascade of its own, built at paint time, and used it for painting,
but not for the marker box's height or its layout bounds, which stayed with the inherited font.

Make the font part of the ::marker style instead, so that the glyph is measured with the font it is drawn with.

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

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 57 tests and 16 subtests

Status Summary

Firefox

OK : 10
PASS: 1[GitHub] 109[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 153[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: 8[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 11[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]

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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