Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f4f70471df90f4758d55cff322ddb2a94db1eece
https://github.com/WebKit/WebKit/commit/f4f70471df90f4758d55cff322ddb2a94db1eece
Author: Fujii Hironori <[email protected]>
Date: 2026-04-03 (Fri, 03 Apr 2026)
Changed paths:
A LayoutTests/scrollbars/zero-height-crash-expected.txt
A LayoutTests/scrollbars/zero-height-crash.html
M Source/WebCore/page/scrolling/coordinated/ScrollerCoordinated.cpp
Log Message:
-----------
[GTK][WPE] assertion failed for empty scrollbar frame rect
https://bugs.webkit.org/show_bug.cgi?id=311295
Reviewed by Nikolas Zimmermann.
If a scrollbar frame rect was empty, the following assertion was failing.
> ASSERTION FAILED: !texture.size().isEmpty()
> ../../../Source/WebCore/platform/graphics/skia/SkiaUtilities.cpp(52) :
> GrBackendTexture
WebCore::ScrollerCoordinated::updateValues should return early if the scrollbar
frame rect is emtpy.
Test: scrollbars/zero-height-crash.html
* LayoutTests/scrollbars/zero-height-crash-expected.txt: Added.
* LayoutTests/scrollbars/zero-height-crash.html: Added.
* Source/WebCore/page/scrolling/coordinated/ScrollerCoordinated.cpp:
(WebCore::ScrollerCoordinated::updateValues):
Canonical link: https://commits.webkit.org/310503@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications