Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / align-content-change-keeping-geometry.html
blob53dd1ac653a5d2cc5448e3324551738e8702f948
1 <!-- Based on fast/repaint/align-content-change-keeping-geometry.html -->
2 <!DOCTYPE HTML>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 ];
7 function paintInvalidationTest() {
8 document.getElementById('container').style.alignContent = 'center';
10 onload = runPaintInvalidationTest;
11 </script>
12 <style>
13 #container {
14 display: flex;
15 align-items: flex-start;
16 width: 200px;
17 height: 300px;
18 background-color: red;
20 .item {
21 background-color: green;
22 border: solid thin blue;
23 width: 100px;
24 height: 300px;
26 </style>
27 <p style="height: 20px">There should be no invalidations because align-content style change causes no visual change.</p>
28 <div id="container">
29 <div class="item"></div>
30 <div class="item"></div>
31 </div>