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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-element-change-columns-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="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel ="stylesheet">
4 <link href="resources/grid.css" rel="stylesheet">
4 <style> 5 <style>
5 body { 6 body {
6 font: 10px/1 Ahem; 7 font: 10px/1 Ahem;
7 } 8 }
8 9
9 .grid { 10 .grid {
10 width: -webkit-fit-content;
11 grid-template-rows: 50px; 11 grid-template-rows: 50px;
12 grid-template-columns: minmax(50px, 180px) 100px 100px; 12 grid-template-columns: minmax(50px, 180px) 100px 100px;
13 } 13 }
14 .sizedToGridArea { 14 .sizedToGridArea {
15 background-color: purple; 15 background-color: purple;
16 } 16 }
17 </style> 17 </style>
18 <body> 18 <body>
19 <div> This test checks that changing the grid-template-columns lead to a repaint . The final grid element should be 250px * 50px, the grid item should be 50px * 50px. No trace of the elements before the grid-template-columns change should be seen.</div> 19 <div> This test checks that changing the grid-template-columns lead to a repaint . The final grid element should be 250px * 50px, the grid item should be 50px * 50px. No trace of the elements before the grid-template-columns change should be seen.</div>
20 <div class="constrainedContainer"> 20 <div class="constrainedContainer">
21 <div class="grid"> 21 <div class="grid min-content">
22 <div class="sizedToGridArea"></div> 22 <div class="sizedToGridArea"></div>
23 </div> 23 </div>
24 </div> 24 </div>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698