Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / align-self-change-keeping-geometry-grid.html
blob7fd8feea3b31cf38ea75821b5f79e40788a93cba
1 <!DOCTYPE HTML>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
7 onload = runRepaintTest;
8 </script>
9 <style>
10 body {
11 margin: 0;
13 #container {
14 display: grid;
15 grid: 100px / 300px;
16 width: 200px;
17 height: 300px;
18 background-color: red;
20 .item {
21 grid-row: 1;
22 grid-column: 1;
23 align-self: start;
24 background-color: green;
26 </style>
27 <p style="height: 20px">There should be no invalidations because align-self style change causes no visual change.</p>
28 <div id="container">
29 <div class="item">
30 <div style="height: 300px"></div>
31 </div>
32 </div>