Bug 225387

Summary: scroll-padding not working correctly when scroll target is partially out of scroll port
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: ScrollingAssignee: 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
Reported 2021-05-05 02:21:53 PDT
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
Radar WebKit Bug Importer
Comment 1 2021-05-12 02:22:15 PDT
Martin Robinson
Comment 2 2021-05-31 03:56:50 PDT
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 ***
Note You need to log in before you can comment on or make changes to this bug.