Bug 152667

Summary: Scroll snapping doesn't work in RTL scrollable content
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: mrobinson, simon.fraser, wenson_hsieh
Priority: P2    
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 218115    
Attachments:
Description Flags
Testcase
none
Updated test case none

Simon Fraser (smfr)
Reported 2016-01-03 11:38:01 PST
Created attachment 268146 [details] Testcase Scroll snapping is broken in RTL scrollable content. Test case attached. We need to figure out of snap points are offsets (0 -> max) or positions (min -> max, possibly negative).
Attachments
Testcase (852 bytes, text/html)
2016-01-03 11:38 PST, Simon Fraser (smfr)
no flags
Updated test case (804 bytes, text/html)
2021-01-14 03:38 PST, Martin Robinson
no flags
Simon Fraser (smfr)
Comment 1 2016-01-03 11:38:18 PST
appendChildSnapOffsets() filters out negative offsets.
Simon Fraser (smfr)
Comment 2 2020-10-20 15:24:33 PDT
I think I fixed this.
Martin Robinson
Comment 3 2021-01-14 03:38:17 PST
Created attachment 417606 [details] Updated test case I've updated the test case to follow the modern version of the specification and I can confirm that this is working as expected. I'm going to close this bug for now and then we can open new bugs if we find more specific issues with RTL content.
Note You need to log in before you can comment on or make changes to this bug.