[webkit-changes] [WebKit/WebKit] fde185: InteractionRegions are missing for some `display: ...
Commit Queue
noreply at github.com
Fri May 26 11:53:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fde1853a7a1574c5468741b2022d4d9d6ae1cf24
https://github.com/WebKit/WebKit/commit/fde1853a7a1574c5468741b2022d4d9d6ae1cf24
Author: Etienne Segonzac <sgz at apple.com>
Date: 2023-05-26 (Fri, 26 May 2023)
Changed paths:
A LayoutTests/interaction-region/display-table-expected.txt
A LayoutTests/interaction-region/display-table.html
M LayoutTests/interaction-region/layer-tree-expected.txt
M Source/WebCore/page/InteractionRegion.cpp
Log Message:
-----------
InteractionRegions are missing for some `display: table` elements
https://bugs.webkit.org/show_bug.cgi?id=257379
<rdar://109538261>
Reviewed by Tim Horton.
Don't skip the child renderer's InteractionRegion if the link parent is
`display: table`, like we do for inline links.
* Source/WebCore/page/InteractionRegion.cpp:
(WebCore::interactionRegionForRenderedRegion):
Check if the matched renderer `isDisplayTableOrTablePart()` before
bailing out.
* LayoutTests/interaction-region/display-table-expected.txt: Added.
* LayoutTests/interaction-region/display-table.html: Added.
Add a test.
* LayoutTests/interaction-region/layer-tree-expected.txt:
Test update.
Canonical link: https://commits.webkit.org/264598@main
More information about the webkit-changes
mailing list