Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / align-self-change-no-flex.html
blob1d794513bb4c63713abff29ac55930f6cbd2e72f
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 window.expectedPaintInvalidationObjects = [
6 ];
7 function paintInvalidationTest() {
8 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
9 document.getElementsByClassName('item')[1].style.alignSelf = 'stretch';
11 onload = runPaintInvalidationTest;
12 </script>
13 <style>
14 .container {
15 width: 200px;
16 height: 300px;
17 background-color: blue;
19 .item {
20 background-color: green;
21 border: solid thin blue;
23 </style>
24 There should be no invalidations when align-self changes on a non-flex container.
25 <div id="container">
26 <div class="item">
27 <div style="height: 100px"></div>
28 </div>
29 <div class="item">
30 <div style="height: 150px"></div>
31 </div>
32 </div>