[Webkit-unassigned] [Bug 144647] New: Scroll-snap points do not handle margins and padding properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 5 17:18:24 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=144647

            Bug ID: 144647
           Summary: Scroll-snap points do not handle margins and padding
                    properly
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

If we decorate the container holding a scroll-snap region with padding or borders, the calculation of the snap points is not correct. See the attached example for details:

1. The initial color block fills the region and looks correct.
2. After performing a single swipe (which should move 100% to the next color block), we are off by about 2x the border width, resulting in display of the third color at the edge of the display region.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150506/5f1addf0/attachment.html>


More information about the webkit-unassigned mailing list