Closed Bug 2086878 Opened 1 month ago Closed 17 days ago

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

Categories

(Core :: Layout: Columns, 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])

Attachments

(1 file)

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

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

Alan Baradlay <zalan@apple.com> wrote:

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

WebKit export from bug: [<!---->block-<!---->in-<!---->inline]<!----> A block level box on a line is left behind when a column break moves the line

<pre>
A block level box on a line is left behind when a column break moves the line

Line positions are adjusted for column and page breaks after inline layout has finished, while a block level
box on a line is laid out by block layout during inline layout, at the position the line had before that
adjustment. Moving the lines afterwards moved the display boxes but left the block box's renderer where it
was, so it overlapped the line it is supposed to follow. A widow that made line layout restart hid this,
which is why it took a case with no restart to see it.

Give the renderer the offset its line took, and let it lay out again in case its own content breaks
differently at the new position.

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

Component: web-platform-tests → Layout: Columns
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

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

Total 722 tests

Status Summary

Firefox

OK : 1[GitHub] 91[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: 164[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1427[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1802[Gecko-android-em-14-x86_64-debug-geckoview] 1803[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 1807[Gecko-linux2404-64-debug] 1808[Gecko-linux2404-64-opt] 1810[Gecko-windows11-64-25h2-debug] 1811[Gecko-windows11-64-25h2-opt]
FAIL: 1[GitHub] 350[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 433[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 436[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 437[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

Firefox-only Failures

(See attachment for full changes)

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

Attachment

General

Created:
Updated:
Size: