Bug 226259 - Scrollbars/indicators are sometimes incorrectly drawn when async overflow scrolling is enabled
Summary: Scrollbars/indicators are sometimes incorrectly drawn when async overflow scr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Lord
URL:
Keywords: InRadar
Depends on:
Blocks: 224596
  Show dependency treegraph
 
Reported: 2021-05-26 01:33 PDT by Chris Lord
Modified: 2021-05-26 15:47 PDT (History)
15 users (show)

See Also:


Attachments
Patch (4.97 KB, patch)
2021-05-26 01:38 PDT, Chris Lord
no flags Details | Formatted Diff | Diff
Patch (5.74 KB, patch)
2021-05-26 07:57 PDT, Chris Lord
no flags Details | Formatted Diff | Diff
Patch (5.57 KB, patch)
2021-05-26 15:09 PDT, Chris Lord
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lord 2021-05-26 01:33:23 PDT
Some tests are failing on WPE since enabling async overflow scrolling in tests due to incorrect drawing of scrollbars/indicators.
Comment 1 Chris Lord 2021-05-26 01:38:23 PDT
Created attachment 429736 [details]
Patch
Comment 2 Chris Lord 2021-05-26 01:57:13 PDT
Comment on attachment 429736 [details]
Patch

Obviously not quite there yet.
Comment 3 Chris Lord 2021-05-26 07:57:53 PDT
Created attachment 429754 [details]
Patch
Comment 4 Chris Lord 2021-05-26 08:24:18 PDT
Comment on attachment 429754 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=429754&action=review

> Source/WebCore/ChangeLog:8
> +        Respect clipped overflow when deciding whether to create layers for

The ChangeLog entry should read:

"Respect scrolled contents visibility when rendering scrollbar layers."
Comment 5 Simon Fraser (smfr) 2021-05-26 08:29:45 PDT
Comment on attachment 429754 [details]
Patch

Odd that this doesn't affect macOS behavior.
Comment 6 Chris Lord 2021-05-26 08:36:39 PDT
(In reply to Simon Fraser (smfr) from comment #5)
> Comment on attachment 429754 [details]
> Patch
> 
> Odd that this doesn't affect macOS behavior.

I guess Mac doesn't run tests with async overflow scrolling enabled? Or implements it differently somehow? I think that's either the only thing that hit this path incorrectly, or at least the most common thing. Same goes for bug 225922, and I guess the failures in bug 224596.
Comment 7 Chris Lord 2021-05-26 15:09:50 PDT
Created attachment 429801 [details]
Patch
Comment 8 EWS 2021-05-26 15:46:13 PDT
Committed r278129 (238179@main): <https://commits.webkit.org/238179@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 429801 [details].
Comment 9 Radar WebKit Bug Importer 2021-05-26 15:47:20 PDT
<rdar://problem/78536929>