[webkit-changes] [WebKit/WebKit] 2658d9: Scaled scroller with event handler results in inva...
Simon Fraser
noreply at github.com
Fri Jun 7 14:46:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2658d9543648f73d307da682ed908f27bcfbfc7b
https://github.com/WebKit/WebKit/commit/2658d9543648f73d307da682ed908f27bcfbfc7b
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A LayoutTests/fast/scrolling/mac/region-decoding-failure-expected.txt
A LayoutTests/fast/scrolling/mac/region-decoding-failure.html
M Source/WebCore/rendering/RenderObject.cpp
Log Message:
-----------
Scaled scroller with event handler results in invalid wheel event Region
https://bugs.webkit.org/show_bug.cgi?id=275259
rdar://118512508
Reviewed by Alan Baradlay.
If we need to generate an event region which has huge root-relative bounds (due to nested scales),
make sure we clamp the result returned by `absoluteBoundingBoxRect()` to be a valid IntRect.
* LayoutTests/fast/scrolling/mac/region-decoding-failure-expected.txt: Added.
* LayoutTests/fast/scrolling/mac/region-decoding-failure.html: Added.
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::RenderObject::absoluteBoundingBoxRect const):
Canonical link: https://commits.webkit.org/279837@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list