Bug 244989 - `contain:content` on the body breaks scrolling
Summary: `contain:content` on the body breaks scrolling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-09-09 10:46 PDT by Simon Fraser (smfr)
Modified: 2022-09-15 00:56 PDT (History)
9 users (show)

See Also:


Attachments
Patch (1.18 KB, patch)
2022-09-12 03:23 PDT, Rob Buis
no flags Details | Formatted Diff | Diff
Patch (5.22 KB, patch)
2022-09-12 08:25 PDT, Rob Buis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2022-09-09 10:46:40 PDT
This page <http://dataphys.org/list/wearable-abacus-from-the-qing-dynasty/> has `body { contain: content; }` and is thus unscrollable in Safari (in a small window). This does not reproduce in Firefox or Chrome.
Comment 1 Simon Fraser (smfr) 2022-09-09 10:47:20 PDT
<rdar://99248832>
Comment 2 Rob Buis 2022-09-12 03:23:10 PDT
Created attachment 462283 [details]
Patch
Comment 3 Rob Buis 2022-09-12 08:25:50 PDT
Created attachment 462289 [details]
Patch
Comment 4 EWS Watchlist 2022-09-12 08:27:11 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 5 Rob Buis 2022-09-13 05:38:55 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/35874
Comment 6 EWS 2022-09-15 00:56:08 PDT
Committed 254506@main (2bf7fb96494b): <https://commits.webkit.org/254506@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 462289 [details].