[Webkit-unassigned] [Bug 144710] New: Scroll-snap point produces strange 'default' snap offset vector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 6 14:25:19 PDT 2015


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

            Bug ID: 144710
           Summary: Scroll-snap point produces strange 'default' snap
                    offset vector
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

When we have scroll-snap point markup that specifies a horizontal snap range, but not a vertical, we get a default value of "{0, 15}".

Example:
  .horizontalGallery {
      width: 300px;
      height: 300px;
      overflow-y: hidden;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      -webkit-scroll-snap-points-x: repeat(100%);
      -webkit-scroll-snap-type: mandatory;
  }

This produces snap points as follows:
  horizontal = { 0, 300, 600, 900, 1200, 1500 }, vertical = { 0, 15 }

I would expect to see either no snap points, or snap points for the two scroll extrema (i.e., vertical = { 0, 1500 }

-- 
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/6cd8bb2d/attachment.html>


More information about the webkit-unassigned mailing list