Bug 144713

Summary: Scroll-snap point coordinate values seem wrong
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=144647
Attachments:
Description Flags
Screen shot of the tests (showing scrollbars) none

Brent Fulgham
Reported 2015-05-06 15:05:04 PDT
The computed scroll-snap coordinate values seem off, perhaps by the size of the scrollbar.
Attachments
Screen shot of the tests (showing scrollbars) (25.17 KB, image/png)
2015-05-06 15:45 PDT, Brent Fulgham
no flags
Brent Fulgham
Comment 1 2015-05-06 15:41:53 PDT
This is almost certainly due to the scrollbars used in the test system. They are always shown, and take up a non-trivial chunk of the view. So I think these values are actually expected.
Brent Fulgham
Comment 2 2015-05-06 15:45:37 PDT
Created attachment 252533 [details] Screen shot of the tests (showing scrollbars) This screenshot shows what the tests look like during runs. The horizontal/vertical scrollbars effectively halve the size of the region used for display, so the snap points are calculated using that smaller size. In this case, since scrollbars are are persistent and non-trivial in size, they have a significant impact on the layout.
Brent Fulgham
Comment 3 2015-05-06 15:45:55 PDT
Works as intended.
Note You need to log in before you can comment on or make changes to this bug.