OLD | NEW |
| (Empty) |
1 <!-- Based on fast/repaint/align-self-change-no-flex.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 .container { | |
13 width: 200px; | |
14 height: 300px; | |
15 background-color: blue; | |
16 } | |
17 .item { | |
18 background-color: green; | |
19 border: solid thin blue; | |
20 } | |
21 </style> | |
22 There should be no invalidations when align-self changes on a non-flex container
. | |
23 <div id="container"> | |
24 <div class="item"> | |
25 <div style="height: 100px"></div> | |
26 </div> | |
27 <div class="item"> | |
28 <div style="height: 150px"></div> | |
29 </div> | |
30 </div> | |
OLD | NEW |