| Summary: | [css-scroll-snap] Scroll snap offsets are interpreted as scroll positions in ScrollableArea | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Martin Robinson <mrobinson> | ||||||
| Component: | Scrolling | Assignee: | Martin Robinson <mrobinson> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | simon.fraser, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 218115 | ||||||||
| Attachments: |
|
||||||||
|
Description
Martin Robinson
2021-06-03 02:05:48 PDT
Created attachment 430462 [details]
Patch
Comment on attachment 430462 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=430462&action=review Please check the test failures. > Source/WebCore/platform/ScrollableArea.cpp:516 > +IntPoint ScrollableArea::nearestActiveSnapPoint(const IntPoint& currentOffset) Maybe we should rename this nearestActiveSnapPointForOffset(). The argument should be a ScrollOffset. It looks like these Mac failures are due to a related issue at bug 226630. I have a fix for that, but it depends on bug 226538. Created attachment 431414 [details]
Patch
Committed r278868 (238812@main): <https://commits.webkit.org/238812@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 431414 [details]. |