WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
199779
Don't do async overflow scrolling for visibility:hidden scrollers
https://bugs.webkit.org/show_bug.cgi?id=199779
Summary
Don't do async overflow scrolling for visibility:hidden scrollers
Simon Fraser (smfr)
Reported
2019-07-13 12:04:27 PDT
If a scroller has visibility:hidden, don't trigger the async overflow scroll code path. Some JS libraries make visibility:hidden scrollers (
https://github.com/wnr/element-resize-detector
) and we need to avoid the compositing cost. I filed
https://github.com/w3c/csswg-drafts/issues/4113
on this not being well-defined in CSS, and expect that to be resolved in a way that prevents scrolling.
Attachments
Patch
(8.02 KB, patch)
2019-07-13 13:46 PDT
,
Simon Fraser (smfr)
dino
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-07-13 12:05:11 PDT
<
rdar://problem/53056654
>
Simon Fraser (smfr)
Comment 2
2019-07-13 13:46:03 PDT
Created
attachment 374081
[details]
Patch
Simon Fraser (smfr)
Comment 3
2019-07-13 15:34:57 PDT
https://trac.webkit.org/changeset/247420/webkit
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug