[wpt-sync] Sync PR 63090 - [block-in-inline] Skip opaque boxes in inline CB
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| 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
opaquePhysicalBoxFragment(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 asIsEmptyLineBox(), 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
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=98989
| Assignee | ||
Comment 2•1 month ago
|
||
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
- /css/CSS2/abspos/static-inside-inline-003.html [wpt.fyi]:
FAIL - /css/CSS2/abspos/abspos-in-block-in-inline-in-relpos-inline-002.html [wpt.fyi]
- Block-in-inline at the end should not contribute to inline containing block width:
FAIL(Chrome:FAIL, Safari:FAIL)
- Block-in-inline at the end should not contribute to inline containing block width:
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7ae578cada7d
https://hg.mozilla.org/mozilla-central/rev/5aba08f9ca42
Description
•