Closed Bug 1800563 Opened 2 years ago Closed 4 months ago

[css-grid] WPT test subgrid/independent-formatting-context.html fails in Firefox

Categories

(Core :: Layout: Grid, defect, P3)

defect

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file, 2 obsolete files)

This WPT test fails just in Firefox:
https://wpt.fyi/results/css/css-grid/subgrid/independent-formatting-context.html

Direct link to test:
https://wpt.live/css/css-grid/subgrid/independent-formatting-context.html

It happens to be included in the interop2022 test suite, in the subgrid category. Hence: filing under that metabug. (Here's the link for all such tests that we fail, FWIW:
https://wpt.fyi/results/css/css-grid/subgrid?label=master&label=experimental&aligned&view=subtest&q=label%3Ainterop-2022-subgrid%20firefox%3A%21pass )

The severity field is not set for this bug.
:dholbert, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dholbert)
Severity: -- → S3
Flags: needinfo?(dholbert)
Blocks: interop-2023-subgrid
No longer blocks: interop2022

There are a bunch of rects here, each testing a different thing that produces an independent formatting context.

We only fail (render red) on the first one, where the .subgrid element has position:absolute. I confirmed that if I set grid-template-rows: initial on that element (make the subgrid styling be ignored/overridden), then we render green there (i.e. we will do the right thing if we start ignoring the subgrid styling on that element).

That element's child is the thing that's green, and we seem to be resolving that green child to have 0 height for some reason.

Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Depends on: 1870906

sorry for bugspam; I decided to split parts of this off as patches in helper-bugs, but I left this bug's bug number in the commit messages of some of those helper-bugs. :) Cleaned up now, I think.

Attachment #9363820 - Attachment description: WIP: Bug 1800563: Disregard subgrid styling on out-of-flow grid containers. → Bug 1800563: Inhibit out-of-flow grid containers from being subgrids. r?TYLin
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9ac6d4619164
Inhibit out-of-flow grid containers from being subgrids. r=TYLin
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Blocks: 1871154
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: