Closed Bug 2091849 Opened 4 days ago Closed 12 hours ago

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

Categories

(Core :: Layout: Block and Inline, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Alan Baradlay <zalan@apple.com> wrote:

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

WebKit export from bug: [<!---->IFC]<!----> IFC cannot compute intrinsic widths when inline content has atomic inline-<!---->level boxes without a fixed width

<pre>
[IFC] IFC cannot compute intrinsic widths when inline content has atomic inline-level boxes without a fixed width

canUseForIntrinsicWidthComputation only took atomic inline-level boxes with a fixed width, because the box geometry IFC
reads their widths from holds only the min-content width. Inline-blocks with content, auto-width replaced boxes, inline
flex, grid and table boxes and orthogonal boxes went to the legacy intrinsic width walk.

Ask the render tree for an atomic box's width under each constraint, as floats and block level boxes on a line already do
(InlineFormattingUtils::intrinsicMarginBoxWidth). An orthogonal atomic box contributes its block size, like an orthogonal block level box.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=328531">https://bugs.webkit.org/show_bug.cgi?id=328531</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/324705@main">https://commits.webkit.org/324705@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 435 tests

Status Summary

Firefox

OK : 1[GitHub] 60[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-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[GitHub] 7[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 843[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1121[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] 1124[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 11[GitHub] 31[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 118[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

OK : 1
PASS: 1
FAIL: 11

Safari

OK : 1
PASS: 2
FAIL: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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