Closed Bug 1827317 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 39462 - [GridNG] Enforce that IFC's disable subgrid layout

Categories

(Core :: Layout: Grid, task, P4)

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kurt Catti-Schmidt (SCHMIDT) <kschmi@microsoft.com> wrote:

[GridNG] Enforce that IFC's disable subgrid layout

The spec[1] states that items that establish an independent formatting
context (IFC's) are not eligible for subgrid layout. This CL enforces
that behavior and gets the 'independent-formatting-context.html' test
to pass.

Some subtlety was needed to specifically check for layout and paint
containment, as the other types of containment do not establish IFC's.

'independent-formatting-context.html' was updated to have all values
of contain, including the composite values.

  1. https://drafts.csswg.org/css-grid-2/#subgrid-listing

Bug: 618969
Change-Id: I642647b7f2ccbd1fc1cf9e59f70eb786869eb363
Reviewed-on: https://chromium-review.googlesource.com/4412028
WPT-Export-Revision: 8fb797598b2a706eb76f5bfa83af15f4c420a959

Component: web-platform-tests → Layout: Grid
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/12b15ab8a81b [wpt PR 39462] - [GridNG] Enforce that IFC's disable subgrid layout, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.