| OLD | NEW | 
|---|
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> | 
| 2 <script src="resources/text-based-repaint.js"></script> | 2 <script src="resources/text-based-repaint.js"></script> | 
| 3 <script> | 3 <script> | 
| 4 function repaintTest() { | 4 function repaintTest() { | 
| 5   document.getElementsByClassName('item')[0].style.alignSelf = 'stretch'; | 5   document.getElementsByClassName('item1')[0].style.alignSelf = 'stretch'; | 
|  | 6   document.getElementsByClassName('item2')[0].style.alignSelf = 'stretch'; | 
| 6 } | 7 } | 
| 7 onload = runRepaintAndPixelTest; | 8 onload = runRepaintAndPixelTest; | 
| 8 </script> | 9 </script> | 
| 9 <style> | 10 <style> | 
| 10 body { | 11 body { | 
| 11   margin: 0; | 12   margin: 0; | 
| 12 } | 13 } | 
| 13 #container { | 14 #container { | 
| 14   display: grid; | 15   display: grid; | 
| 15   grid: 300px / 100px; | 16   align-items: start; | 
|  | 17   grid: 300px / 100px 100px; | 
| 16   width: 200px; | 18   width: 200px; | 
| 17   height: 300px; | 19   height: 300px; | 
| 18   background-color: red; | 20   background-color: red; | 
| 19 } | 21 } | 
| 20 .item { | 22 .item1 { | 
| 21   grid-row: 1; | 23   grid-row: 1; | 
| 22   grid-column: 1; | 24   grid-column: 1; | 
| 23   align-self: start; | 25   height: 300px; | 
|  | 26   background-color: green; | 
|  | 27 } | 
|  | 28 .item2 { | 
|  | 29   grid-row: 1; | 
|  | 30   grid-column: 2; | 
|  | 31   height: 300px; | 
| 24   background-color: green; | 32   background-color: green; | 
| 25 } | 33 } | 
| 26 </style> | 34 </style> | 
| 27 <p style="height: 20px">There should be no invalidations because align-self styl
    e change causes no visual change.</p> | 35 <p style="height: 20px">There should be no invalidations because align-self styl
    e change causes no visual change.</p> | 
| 28 <div id="container"> | 36 <div id="container"> | 
| 29   <div class="item"> | 37   <div id="item1" class="item1"></div> | 
| 30     <div style="height: 300px"></div> | 38   <div id="item2" class="item2"></div> | 
| 31   </div> |  | 
| 32 </div> | 39 </div> | 
| OLD | NEW | 
|---|