Closed Bug 2086890 Opened 1 month ago Closed 18 days ago

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

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 64109 into mozilla-central (this bug is closed when the sync is complete).

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

Alan Baradlay <zalan@apple.com> wrote:

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

WebKit export from bug: [<!---->block-<!---->in-<!---->inline]<!----> An orthogonal block level box in an inline box is misplaced

<pre>
[block-in-inline] An orthogonal block level box in an inline box is misplaced

RenderBlockFlow::layoutSimpleBlockContentInInline lays a block level box on a line out again where it already
is. It read the position back with RenderBox::logicalTop(), which is on the box's own block axis, and handed it
to layoutBlockChildFromInlineLayout, which writes it on the container's. Orthogonal writing modes make those
two different axes, so the box landed at its inline offset along the container's block axis: 55px into a
container whose only line before it takes 20px, sitting on that line rather than after it.

Read and write the position through the container's own accessors, which is what put the box there in the first
place.

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

Component: web-platform-tests → Layout
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1237 tests

Status Summary

Firefox

OK : 1[GitHub] 82[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] 13[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 391[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1505[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] 1508[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1512[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 25[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 46[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 48[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 53[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]

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

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