Closed Bug 2083495 Opened 1 month ago Closed 26 days ago

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

Categories

(Core :: Layout: Block and Inline, 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 63832 into mozilla-central (this bug is closed when the sync is complete).

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

Alan Baradlay <zalan@apple.com> wrote:

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

WebKit export from bug: REGRESSION (<!---->Safari 27)<!---->:<!----> line-<!---->height quirk not applied inside inline-<!---->block

<pre>
REGRESSION (Safari 27): line-height quirk not applied inside inline-block

In quirks mode the line-height quirk applies to line break boxes too, since a <br> has no text content.
<a href="https://commits.webkit.org/310839@main">310839@main</a> made a <br> with a non-normal line-height stretch the line box unconditionally, so a line-height
inherited from an ancestor started stretching lines that have other content on them. Now the <br> only
stretches the line box when there's nothing else on the line to do it.

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

Component: web-platform-tests → Layout: Block and Inline
Product: Testing → Core

CI Results

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

Total 425 tests

Status Summary

Firefox

OK : 59
PASS: 1[GitHub] 7[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 842[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1120[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] 1123[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 20[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 98[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: 26 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.