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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-change-row-repaint-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <link href="../../../fast/css-grid-layout/resources/grid.css" rel="stylesheet"> 3 <link href="resources/grid.css" rel="stylesheet">
4 <style> 4 <style>
5 body {
6 font: 10px/1 Ahem;
7 }
8
5 .grid { 9 .grid {
6 grid-template-rows: 50px 100px; 10 grid-template-rows: 50px 100px;
7 grid-template-columns: 100px 50px; 11 grid-template-columns: 100px 50px;
8 /* Make the grid shrink to fit. */ 12 /* Make the grid shrink to fit. */
9 position: absolute; 13 position: absolute;
10 } 14 }
11 .sizedToGridArea { 15 .sizedToGridArea {
12 background-color: purple; 16 background-color: purple;
13 grid-row: 2; 17 grid-row: 2;
14 } 18 }
15 </style> 19 </style>
16 <body> 20 <body>
17 <div>This test checks that changing the grid-row on a grid item properly repaint . The final grid item should be 100px * 100px. There should be no trace of the g rid item at the old position.</div> 21 <div>This test checks that changing the grid-row on a grid item properly repaint . The final grid item should be 100px * 100px. There should be no trace of the g rid item at the old position.</div>
18 <div class="grid"> 22 <div class="grid">
19 <div class="sizedToGridArea"></div> 23 <div class="sizedToGridArea"></div>
20 </div> 24 </div>
21 </body> 25 </body>
22 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698