Closed Bug 2076728 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63090 - [block-in-inline] Skip opaque boxes in inline CB

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[block-in-inline] Skip opaque boxes in inline CB

When an inline containing block contains a block-in-inline, an
opaque PhysicalBoxFragment (IsOpaque()) is generated for
the inline box on the block-in-inline line box.

Before this change, GatherInlineContainerFragmentsFromItems
did not skip opaque fragments. Because a block-in-inline line
box is not marked as IsEmptyLineBox(), the opaque fragment's
rect (which has the inline size of the block child) was used
to update the inline containing block's geometry when there
were no non-empty inline lines after the block-in-inline.

This patch skips opaque box fragments when gathering inline
containing block fragments.

Changes are guarded by the InlineContainingBlockSkipOpaque
kill-switch flag.

Fixed: 40910996
Change-Id: I565c7536b796cd6ad90b84d83f7693895a4975e3
Reviewed-on: https://chromium-review.googlesource.com/8491871
WPT-Export-Revision: ec065ddb33ef448c31bff3177e51337f540a0ef4

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 33 tests and 1 subtests

Status Summary

Firefox

OK : 1[GitHub] 4[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] 5[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 33[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: 1[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, GitHub] 2[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: 1

Safari

OK : 1
PASS: 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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