Fix fixed-background offset issue
Fixed-background under scrolled container has been broken when we enabled ScrollRecorder. Because the drawing coordinates are in the scrolled content, while fixed-background should be drawn as if it is in the viewport, we should add the accumulated scroll offset to the target rect of the fixed-background. BUG=528226 TEST=paint/overflow/fixed-background-scroll.html TEST=paint/overflow/fixed-background-scroll-window.html TEST=paint/overflow/fixed-background-scroll-in-frame.html Review URL: https://codereview.chromium.org/1332643002 git-svn-id: svn://svn.chromium.org/blink/trunk@202014 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment