diff options
author | jchaffraix@chromium.org <jchaffraix@chromium.org> | 2014-09-05 17:16:48 +0000 |
---|---|---|
committer | jchaffraix@chromium.org <jchaffraix@chromium.org> | 2014-09-05 17:16:48 +0000 |
commit | 0e5b483eacbd9a4ac160eb38a82ff758552b3f01 (patch) | |
tree | bcecaf8ef9ca69f2480cd25961ede1a33b301da9 /third_party/WebKit/LayoutTests/compositing/repaint | |
parent | 2789aeeb4cf4115dce1fdc928ffa84bef749fcd3 (diff) | |
download | chromium_src-0e5b483eacbd9a4ac160eb38a82ff758552b3f01.zip chromium_src-0e5b483eacbd9a4ac160eb38a82ff758552b3f01.tar.gz chromium_src-0e5b483eacbd9a4ac160eb38a82ff758552b3f01.tar.bz2 |
Move some scroll invalidations to the paint invalidation phase
Scrolling used to generate immediate invalidations that are now
postponed to the paint invalidation phase. In order to make this
works, scrolling updates needs to to happen before paint
invalidations.
The test changes are either neutral (same amount of invalidations,
except that we generate them one at a time) or
compositing/repaint/fixed-pos-inside-composited-intermediate-layer
is a progression.
Review URL: https://codereview.chromium.org/498773007
git-svn-id: svn://svn.chromium.org/blink/trunk@181475 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/compositing/repaint')
3 files changed, 7 insertions, 4 deletions
diff --git a/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt b/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt index 24d61bd..c18025c 100644 --- a/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt +++ b/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt @@ -20,7 +20,7 @@ "bounds": [100, 30000], "drawsContent": true, "repaintRects": [ - [25, 25, 50, 150] + [25, 25, 50, 50] ] } ] diff --git a/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-with-abs-pos-child-scroll-expected.txt b/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-with-abs-pos-child-scroll-expected.txt index cb757d1..0312317 100644 --- a/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-with-abs-pos-child-scroll-expected.txt +++ b/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-with-abs-pos-child-scroll-expected.txt @@ -7,8 +7,10 @@ Hi! "contentsOpaque": true, "drawsContent": true, "repaintRects": [ - [425, 480, 360, 590], - [425, 480, 360, 590] + [425, 980, 360, 90], + [425, 980, 360, 90], + [425, 480, 360, 90], + [425, 480, 360, 90] ] } ] diff --git a/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-with-composited-child-expected.txt b/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-with-composited-child-expected.txt index b8ca064..1b91858 100644 --- a/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-with-composited-child-expected.txt +++ b/third_party/WebKit/LayoutTests/compositing/repaint/fixed-pos-with-composited-child-expected.txt @@ -6,7 +6,8 @@ "contentsOpaque": true, "drawsContent": true, "repaintRects": [ - [0, 500, 400, 200] + [0, 600, 400, 100], + [0, 500, 400, 100] ], "children": [ { |