Bug 249278 - Don't paint empty scrollbar parts
Summary: Don't paint empty scrollbar parts
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-13 16:46 PST by Ahmad Saleem
Modified: 2022-12-20 16:47 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-12-13 16:46:10 PST
Hi Team,

This might be partial merge of following Blink commit:

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/8991628a5345bdc95e6063aac05a3d71a43ca173

I have seen at least two cases (during triaging old bugs), where we paint black bar in place of scrollbar and when we resize then we get scrollbar or the area (black) get removed.

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/403e78eb6ddb81c1319cca7045b09199474573ed/Source/WebCore/rendering/RenderLayerScrollableArea.cpp#L1476 & https://github.com/WebKit/WebKit/blob/403e78eb6ddb81c1319cca7045b09199474573ed/Source/WebCore/rendering/RenderLayerScrollableArea.cpp#L1421

Just wanted to raise this bug and get input. It does not have any dedicated test case.

If without test, it is OK to merge then I am happy to do PR.

Thanks!
Comment 1 Radar WebKit Bug Importer 2022-12-20 16:47:14 PST
<rdar://problem/103576749>