Bug 230274

Summary: Do not propagate body style to viewport when html or body element is contained
Product: WebKit Reporter: Rune Lillesveen <rune.lillesveen>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, dino, kevin_neal, koivisto, rbuis, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: All   
OS: All   

Rune Lillesveen
Reported 2021-09-14 12:54:50 PDT
Tests like [1] fail in WebKit. 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 [2] https://drafts.csswg.org/css-contain-1/#c3 [3] https://github.com/w3c/csswg-drafts/issues/5913
Attachments
Kevin Neal
Comment 1 2021-09-15 08:16:21 PDT
Thank you for filing. The appropriate engineers have been copied.
Radar WebKit Bug Importer
Comment 2 2021-09-15 08:16:54 PDT
Rob Buis
Comment 3 2022-04-15 03:09:36 PDT
This was fixed by r244980.
Note You need to log in before you can comment on or make changes to this bug.