Closed Bug 1754728 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32795 - Reland "[@container] Use the inline-size of the first fragment"

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Reland "[@container] Use the inline-size of the first fragment"

This is a reland of 73c7efdd0ad8ca8f2a48c58424472feb9ad2ca72

Original change's description:

[@container] Use the inline-size of the first fragment

Querying inline-size containers which fragment across fragmentainers, we
may have different inline-sizes for the different fragments. Use the
size of the first fragment for updating container queries and skip
updating container queries for the following fragments.

Test currently crashes writing data back to LayoutObject.

Also change canvas-as-container-006.html to use an expected.txt file
instead of a TestExpectations line.

Bug: 1295695
Change-Id: Ibf438dd87b08e5b37cc15fd59b173eb369ac9aec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450837
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#969187}

Bug: 1295695
Change-Id: I85412b46750f193586b9b3cc540d5c4e1155fef8

Reviewed-on: https://chromium-review.googlesource.com/3451854
WPT-Export-Revision: 63f007a9d6c117e0fa664132b8ebe2d516ec8f5e

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-contain/container-queries/fragmented-container-001.html
Children of fragmented inline-size container should match inline-size of first fragment: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/23d9679d7bda [wpt PR 32795] - Reland "[@container] Use the inline-size of the first fragment", a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fea4070f74a1 [wpt PR 32795] - Reland "[@container] Use the inline-size of the first fragment", a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.