Bug 244989

Summary: `contain:content` on the body breaks scrolling
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Rob Buis <rbuis>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, clopez, ews-watchlist, karlcow, rbuis, simon.fraser, webkit-bug-importer, youennf, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/35874
Attachments:
Description Flags
Patch
none
Patch none

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].