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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/justify-items-legacy-change.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 <!-- Based on fast/repaint/justify-items-legacy-change.html -->
2 <!DOCTYPE HTML>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 function paintInvalidationTest() {
6 document.getElementById('parentContainer').style.justifyItems = 'legacy center ';
7 }
8 onload = runPaintInvalidationTest;
9 </script>
10 <style>
11 body {
12 margin: 0;
13 }
14 #parentContainer {
15 justify-items: center;
16 background-color: orange;
17 width: 300px;
18 height: 400px;
19 }
20
21 #container {
22 display: grid;
23 grid: 100px 100px / 150px 150px;
24 width: 200px;
25 height: 300px;
26 background-color: red;
27 }
28 .item1 {
29 grid-row: 1;
30 grid-column: 1;
31 background-color: green;
32 border: solid thin blue;
33 width: 50px;
34 }
35 .item2 {
36 grid-row: 1;
37 grid-column: 2;
38 background-color: green;
39 border: solid thin blue;
40 width: 50px;
41 </style>
42 <p style="height: 20px">Tests invalidation on justify-items style change (legacy value). Passes if green bars are centerd inside their red container.</p>
43 <div id="parentContainer">
44 <div id="container">
45 <div class="item1">
46 <div style="height: 50px"></div>
47 </div>
48 <div class="item2">
49 <div style="height: 50px"></div>
50 </div>
51 </div>
52 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698