New issue
Advanced search Search tips

Issue 682246 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

LayoutBoxModelObject::backgroundPaintLocation() needs special behavior for the LayoutView.

Project Member Reported by flackr@chromium.org, Jan 18 2017

Issue description

With root layer scrolling we need to fix the behavior of backgroundPaintLocation to have the correct semantics on the root layer.

On the root layer, fixed attachment should paint into the GraphicsLayer (so that it doesn't move with scroll) but scroll and local attachment should paint into the ScrollingContentsLayer (so that they do).
 

Comment 1 by flackr@chromium.org, Jan 24 2017

Labels: -Hotlist-Threaded-Rendering Hotlist-ThreadedRendering
CL that should fix the bug:

https://codereview.chromium.org/2688973002

Project Member

Comment 3 by bugdroid1@chromium.org, Feb 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/97f1bc8106b41307d0b02eae771daa5ef266ef4f

commit 97f1bc8106b41307d0b02eae771daa5ef266ef4f
Author: yigu <yigu@chromium.org>
Date: Wed Feb 15 19:20:59 2017

With root layer scrolling we should paint fixed background attachment into GraphicsLayer and local/scroll attachment into ScrollingContentslayer.

BUG= 682246 
TEST=All/BoxPaintInvalidatorTest.CompositedLayoutViewResize/1; All/BoxPaintInvalidatorTest.CompositedLayoutViewGradientResize/1
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Review-Url: https://codereview.chromium.org/2655023003
Cr-Commit-Position: refs/heads/master@{#450764}

[modify] https://crrev.com/97f1bc8106b41307d0b02eae771daa5ef266ef4f/third_party/WebKit/Source/core/paint/BoxPaintInvalidatorTest.cpp
[modify] https://crrev.com/97f1bc8106b41307d0b02eae771daa5ef266ef4f/third_party/WebKit/Source/core/paint/PaintLayer.cpp
[modify] https://crrev.com/97f1bc8106b41307d0b02eae771daa5ef266ef4f/third_party/WebKit/Source/core/paint/ViewPainter.cpp

Comment 4 by yigu@chromium.org, Feb 15 2017

Status: Fixed (was: Assigned)

Sign in to add a comment