Bug 225922 - [WPE] Spatial navigation tests fail with async overflow scrolling enabled
Summary: [WPE] Spatial navigation tests fail with async overflow scrolling enabled
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Lord
URL:
Keywords: InRadar
Depends on: 226007
Blocks: 224596
  Show dependency treegraph
 
Reported: 2021-05-18 09:42 PDT by Chris Lord
Modified: 2021-05-20 17:25 PDT (History)
29 users (show)

See Also:


Attachments
Patch (48.60 KB, patch)
2021-05-18 09:54 PDT, Chris Lord
no flags Details | Formatted Diff | Diff
Patch (6.58 KB, patch)
2021-05-20 11:12 PDT, Chris Lord
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lord 2021-05-18 09:42:11 PDT
These spatial navigation tests fail since enabling async overflow scrolling in tests in WPE:

fast/spatial-navigation/snav-clipped-overflowed-content.html
fast/spatial-navigation/snav-only-clipped-overflow-content.html
fast/spatial-navigation/snav-simple-content-overflow.html

Debugging with alexg, we discovered that this was because of clipping being disabled when async compositing is used at the RenderBox level. This leads us to believe that this issue may not be WPE-specific. Patch incoming.
Comment 1 Chris Lord 2021-05-18 09:54:33 PDT
Created attachment 428949 [details]
Patch
Comment 2 Simon Fraser (smfr) 2021-05-18 10:04:50 PDT
Comment on attachment 428949 [details]
Patch

I would prefer this happen in two stages: the first should just bet the clippedOverflowRect changes, and the second, smaller patch would fix spatial navigation.
Comment 3 Chris Lord 2021-05-20 11:12:40 PDT
Created attachment 429194 [details]
Patch
Comment 4 EWS 2021-05-20 17:24:41 PDT
Committed r277840 (237984@main): <https://commits.webkit.org/237984@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 429194 [details].
Comment 5 Radar WebKit Bug Importer 2021-05-20 17:25:22 PDT
<rdar://problem/78285532>