Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/composited-view-background-descendant-background-change.html

Issue 2285633005: Reland of Skip PaintLayer empty paint phases if it previously painted nothing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 if (window.internal)
4 internal.settings.setPreferCompositingToLCDText(true);
5 </script>
6 <body style="background: linear-gradient(white, lightgray); background-attachmen t: fixed">
7 <div id="div" style="width: 100px; height: 100px; background-color: red"></div>
8 <div style="height: 2000px; position: relative">
9 Tests descendant background change in a view having composited background.
10 Passes if there is a green square.
11 </div>
12 </body>
13 <script src="../../resources/run-after-layout-and-paint.js"></script>
14 <script>
15 runAfterLayoutAndPaint(function() {
16 div.style.backgroundColor = 'green';
17 }, true);
18 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/composited-view-background-descendant-background-change-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698