Bug 225387
| Summary: | scroll-padding not working correctly when scroll target is partially out of scroll port | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Martin Robinson <mrobinson> |
| Component: | Scrolling | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | charlie.croom, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Martin Robinson
Copied from 222259:
For additional context, I believe this may occur in STP too. Please compare the behavior of Safari to Firefox on https://codepen.io/comp615/pen/bGqbrEx
Click the "right" button a few times.
In Firefox (correct), on hitting C, D, E...the scroll is moved so that the selected item aligns with scroll-padding taken into account.
In Safari, (Wrong), D does not move the scroller (incorrect because it's behind the scroll-adding)...E also does not (wholly wrong because it's not even in the scroll frame)... and from there it moves the item alternatingly correctly
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/77894395>
Martin Robinson
Looks like this behavior was added purposefully, but it feels like it isn't spec compliant.
*** This bug has been marked as a duplicate of bug 42593 ***