Open Bug 1730763 Opened 1 month ago Updated 1 month ago

CSS containment should block propagation from body to viewport

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: rune.lillesveen, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36

Steps to reproduce:

Tests like [1] fail in Gecko. The css-contain spec[2] has been changed after the CSSWG resolution in [3] stopping propagation from body to viewport for non-none used containment on root and body.

[1] https://wpt.fyi/css/css-contain/contain-body-bg-001.html fail in Gecko.
[2] https://drafts.csswg.org/css-contain-1/#c3
[3] https://github.com/w3c/csswg-drafts/issues/5913

Actual results:

WPT tests failed

Expected results:

WPT tests passed

The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Layout
Product: Firefox → Core

Hey Daniel! Does this seem like something Gecko would want to ship? Rune has sent an Intent to Ship for Chromium @ https://groups.google.com/a/chromium.org/g/blink-dev/c/LYuQvgjLhe0.

Flags: needinfo?(dholbert)

Sure, makes sense to ship this change. Hopefully I or somebody can get to it ~soon.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.