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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/align-self-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/align-self-change.html -->
2 <!DOCTYPE HTML>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 function paintInvalidationTest() {
6 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
7 document.getElementsByClassName('item')[1].style.alignSelf = 'stretch';
8 }
9 onload = runPaintInvalidationTest;
10 </script>
11 <style>
12 body {
13 margin: 0;
14 }
15 .flex {
16 display: flex;
17 align-items: flex-start;
18 width: 200px;
19 height: 300px;
20 background-color: red;
21 }
22 .item {
23 background-color: green;
24 border: solid thin blue;
25 width: 100px;
26 }
27 </style>
28 <p style="height: 20px">Tests invalidation on align-self style change. Passes if there is no red.</p>
29 <div class="flex">
30 <div class="item">
31 <div style="height: 100px"></div>
32 </div>
33 <div class="item">
34 <div style="height: 150px"></div>
35 </div>
36 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698