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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/justify-self-change-keeping-geometry-as-text.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-self-change-keeping-geometry.html -->
2 <!DOCTYPE HTML>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 function paintInvalidationTest() {
8 document.getElementsByClassName('item1')[0].style.justifySelf = 'left';
9 document.getElementsByClassName('item2')[0].style.justifySelf = 'right';
10 }
11 onload = runPaintInvalidationTest;
12 </script>
13 <style>
14 body {
15 margin: 0;
16 }
17 #container {
18 display: grid;
19 grid: 100px 100px / 150px 150px;
20 width: 200px;
21 height: 300px;
22 background-color: red;
23 }
24 .item1 {
25 grid-row: 1;
26 grid-column: 1;
27 justify-self: start;
28 background-color: green;
29 width: 50px;
30 }
31 .item2 {
32 grid-row: 1;
33 grid-column: 2;
34 justify-self: end;
35 background-color: green;
36 width: 50px;
37 </style>
38 <p style="height: 20px">Tests invalidation on justify-self style change. Passes if there is no red.</p>
39 <div id="container">
40 <div class="item1">
41 <div style="height: 150px"></div>
42 </div>
43 <div class="item2">
44 <div style="height: 100px"></div>
45 </div>
46 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698