Bug 253503 - REGRESSION: Top bar is jumpy and glitchy on scmp.com
Summary: REGRESSION: Top bar is jumpy and glitchy on scmp.com
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Simon Fraser (smfr)
URL: https://www.scmp.com
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-07 03:42 PST by Kdwk
Modified: 2023-03-25 15:55 PDT (History)
8 users (show)

See Also:


Attachments
Screencast showing top bar of scmp.com while site is scrolled (25.99 MB, video/webm)
2023-03-07 03:42 PST, Kdwk
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kdwk 2023-03-07 03:42:11 PST
Created attachment 465337 [details]
Screencast showing top bar of scmp.com while site is scrolled

On scmp.com, the top bar of the site is jumpy and glitchy when the website is scrolled. Reproducible on any WebKitGTK.
Comment 1 Carlos Garcia Campos 2023-03-07 05:38:46 PST
I can reproduce with 2.38 too, but it's maybe a bit less noticeable.
Comment 2 Zan Dobersek 2023-03-07 09:19:06 PST
Also reproducible on WPE, and on Mac, in Safari Technology Preview 164 and on trunk. Not reproduced in stable Safari 16.1.
Comment 3 Simon Fraser (smfr) 2023-03-07 15:24:14 PST
position:fixed inside overflow scroll.

Importantly, it's jittery even when JavaScript is disabled, which means it's a scrolling tree bug.
Comment 4 Carlos Garcia Campos 2023-03-07 22:40:07 PST
This didn't regress in 2.39.90 and it's cross-platform issue.
Comment 5 Radar WebKit Bug Importer 2023-03-07 22:40:47 PST
<rdar://problem/106407870>
Comment 6 Simon Fraser (smfr) 2023-03-24 12:24:50 PDT
The page has a “position:fixed” element inside overflow:scroll, but with a transformed ancestor, so the “position:fixed” behaves more like “position:absolute”. But for some reason we don’t reposition it on the scrolling thread correctly.
Comment 7 Simon Fraser (smfr) 2023-03-24 12:24:56 PDT
I think we need to educate the scrolling tree about fixed elements that don’t behave like fixed (because of an ancestor transform), but whose containing block is still the viewport.
Comment 8 Simon Fraser (smfr) 2023-03-24 16:09:08 PDT
Reverting 247609@main fixes this.
Comment 9 Simon Fraser (smfr) 2023-03-24 16:42:31 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11955
Comment 10 EWS 2023-03-25 15:55:31 PDT
Committed 262118@main (cf604717c41c): <https://commits.webkit.org/262118@main>

Reviewed commits have been landed. Closing PR #11955 and removing active labels.