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

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

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
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 <html>
3 <head>
4 <link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel ="stylesheet">
5 <link href="resources/grid.css" rel="stylesheet">
6 <style>
7 .grid {
8 grid-template-rows: 100px;
9 grid-template-columns: 200px 200px;
10 margin-top: 10px;
11 }
12 .green {
13 background-color: green;
14 }
15 .red {
16 background-color: red;
17 }
18 </style>
19 </head>
20 <body>
21 <div style="height: 100px">
22 <p>This test checks that grid items correctly repaint when 'z-index' changes .</p>
23 <p>For this test to pass, there should be no red below.</p>
24 </div>
25
26 <div class="grid fit-content">
27 <div id="item1" class="sizedToGridArea green"></div>
28 <div class="sizedToGridArea red"></div>
29 </div>
30
31 <div class="grid fit-content">
32 <div id="item2" class="sizedToGridArea green"></div>
33 <div class="sizedToGridArea red"></div>
34 </div>
35
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698