OLD | NEW |
| (Empty) |
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 function paintInvalidationTest() { | |
6 document.getElementById('container').style.alignContent = 'center'; | |
7 } | |
8 onload = runPaintInvalidationTest; | |
9 </script> | |
10 <style> | |
11 #container { | |
12 display: flex; | |
13 align-items: flex-start; | |
14 width: 200px; | |
15 height: 300px; | |
16 background-color: red; | |
17 } | |
18 .item { | |
19 background-color: green; | |
20 border: solid thin blue; | |
21 width: 100px; | |
22 height: 300px; | |
23 } | |
24 </style> | |
25 <p style="height: 20px">There should be no invalidations because align-content s
tyle change causes no visual change.</p> | |
26 <div id="container"> | |
27 <div class="item"></div> | |
28 <div class="item"></div> | |
29 </div> | |
OLD | NEW |