New issue
Advanced search Search tips

Issue 882075 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Sticky constraints are not snapping boxes correctly

Project Member Reported by trchen@chromium.org, Sep 8

Issue description

There are a bunch of force conversion between float and LayoutUnit in sticky offset computation, this can result in incorrect snapping.

The right way is to store the local rects in LayoutRect in StickyPositionScrollingConstraints, and compute the PixelSnappedIntRect during paint time with paint offset (or subpixel accumulation) applied. The cc::LayerStickyPositionConstraint theoretically only need integer rects.
 
Owner: pdr@chromium.org
I'm leaving the team, thus re-assigning.

Sign in to add a comment