| Summary: | Toggling pointer-events on body does not re-enable scrolling on child | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Liam DeBeasi <ldebeasi> | ||||||||||
| Component: | UI Events | Assignee: | Devin Rousso <hi> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | changseok, commit-queue, esprehn+autocc, ews-watchlist, fred.wang, glenn, graouts, graouts, hi, kondapallykalyan, pdr, simon.fraser, tsavell, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | Safari 14 | ||||||||||||
| Hardware: | iPhone / iPad | ||||||||||||
| OS: | Unspecified | ||||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=224261 | ||||||||||||
| Bug Depends on: | 219441 | ||||||||||||
| Bug Blocks: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Liam DeBeasi
2020-11-03 13:37:29 PST
Need to check to see if we correctly regenerate the event regions. Created attachment 414561 [details]
Patch
I'd love to have a way to test this. Uploading to EWS to see if any existing tests have issues (and therefore might be able to be used to derive my own test).
Can you not write a test that scrolls and check whether scrolling occurred? You can take a look at LayoutTests/pointerevents tests which, although testing a different feature, will likely show examples of that. (In reply to Antoine Quint from comment #4) > Can you not write a test that scrolls and check whether scrolling occurred? You can take a look at LayoutTests/pointerevents tests which, although testing a different feature, will likely show examples of that. Oh nice! I was going to ask someone about this tomorrow. Thanks! :) FYI I marked it as cq- because it did not have tests. I should've said "I don't know how to write a test for this." instead in comment #3. Comment on attachment 414561 [details]
Patch
Needs a test. See fast/scrolling/ios/body-overflow-hidden.html for an example of how to test scrolling
Created attachment 415173 [details]
Patch
Committed r270339: <https://trac.webkit.org/changeset/270339> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415173 [details]. The test is failing in EWS The new test fast/scrolling/ios/overflow-scroll-pointer-events.html is timing out on iOS constantly. History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fscrolling%2Fios%2Foverflow-scroll-pointer-events.html Re-opened since this is blocked by bug 219441 Reverted r270339 for reason: introduced a constantly failing test. Committed r270363: <https://trac.webkit.org/changeset/270363> Created attachment 416209 [details]
Patch
improved test to not fail :)
Committed r270849: <https://trac.webkit.org/changeset/270849> All reviewed patches have been landed. Closing bug and clearing flags on attachment 416209 [details]. |