Bug 230274 - Do not propagate body style to viewport when html or body element is contained
Summary: Do not propagate body style to viewport when html or body element is contained
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-14 12:54 PDT by Rune Lillesveen
Modified: 2022-04-15 03:09 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rune Lillesveen 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
Comment 1 Kevin Neal 2021-09-15 08:16:21 PDT
Thank you for filing. The appropriate engineers have been copied.
Comment 2 Radar WebKit Bug Importer 2021-09-15 08:16:54 PDT
<rdar://problem/83151391>
Comment 3 Rob Buis 2022-04-15 03:09:36 PDT
This was fixed by r244980.