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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/grid-item-z-index-change-repaint-expected.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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="../../../fast/css-grid-layout/resources/grid.css" rel="stylesheet">
5 <style>
6 .grid {
7 grid-template-rows: 100px;
8 grid-template-columns: 200px 200px;
9 width: -webkit-fit-content;
10 margin-top: 10px;
11 }
12 .red {
13 background-color: red;
14 }
15 .green {
16 background-color: green;
17 }
18 .negativeZIndex {
19 z-index: -1;
20 }
21 </style>
22 </head>
23 <body>
24 <div style="height: 100px">
25 <p>This test checks that grid items correctly repaint when 'z-index' changes .</p>
26 <p>For this test to pass, there should be no red below.</p>
27 </div>
28
29 <div class="grid">
30 <div id="item1" class="sizedToGridArea green" style="z-index: 1"></div>
31 <div class="sizedToGridArea red"></div>
32 </div>
33
34 <div class="grid">
35 <div id="item2" class="sizedToGridArea green" style="z-index: 1"></div>
36 <div class="sizedToGridArea red"></div>
37 </div>
38
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698