Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 534592ef55da98283cb3f4a347b50a50c610db43
https://github.com/WebKit/WebKit/commit/534592ef55da98283cb3f4a347b50a50c610db43
Author: Alan Baradlay <[email protected]>
Date: 2026-04-27 (Mon, 27 Apr 2026)
Changed paths:
A LayoutTests/fast/css/resize-corner-over-child-layer-expected.txt
A LayoutTests/fast/css/resize-corner-over-child-layer.html
M LayoutTests/platform/ios/TestExpectations
M Source/WebCore/rendering/RenderLayer.cpp
Log Message:
-----------
Resize handle doesn't work on iframe container when handle overlaps iframe
https://bugs.webkit.org/show_bug.cgi?id=312718
<rdar://problem/175621855>
Reviewed by Abrar Rahman Protyasha.
The resize handle is painted on top of all content, but the hit-test
checked it after child layers. When a child with its own layer (e.g.
position: relative, will-change: transform, iframe) covered the resize
corner, the child caught the click first and the resize check never ran.
The fix moves the resize hit-test before all child layer checks. This
matches paint order: last painted = first hit-tested.
Test: fast/css/resize-corner-over-child-layer.html
* LayoutTests/fast/css/resize-corner-over-child-layer-expected.txt: Added.
* LayoutTests/fast/css/resize-corner-over-child-layer.html: Added.
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::hitTestLayer):
Canonical link: https://commits.webkit.org/312099@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications