| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <script src="resources/text-based-repaint.js"></script> | |
| 3 <script> | |
| 4 function repaintTest() { | |
| 5 document.getElementById('parentContainer').style.justifyItems = 'legacy center
'; | |
| 6 } | |
| 7 onload = runRepaintTest; | |
| 8 </script> | |
| 9 <style> | 2 <style> |
| 10 body { | 3 body { |
| 11 margin: 0; | 4 margin: 0; |
| 12 } | 5 } |
| 13 #parentContainer { | 6 #parentContainer { |
| 14 justify-items: center; | 7 justify-items: legacy center; |
| 15 background-color: orange; | 8 background-color: orange; |
| 16 width: 300px; | 9 width: 300px; |
| 17 height: 400px; | 10 height: 400px; |
| 18 } | 11 } |
| 19 | 12 |
| 20 #container { | 13 #container { |
| 21 display: grid; | 14 display: grid; |
| 22 grid: 100px 100px / 150px 150px; | 15 grid: 100px 100px / 150px 150px; |
| 23 width: 200px; | 16 width: 200px; |
| 24 height: 300px; | 17 height: 300px; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 42 <div id="parentContainer"> | 35 <div id="parentContainer"> |
| 43 <div id="container"> | 36 <div id="container"> |
| 44 <div class="item1"> | 37 <div class="item1"> |
| 45 <div style="height: 50px"></div> | 38 <div style="height: 50px"></div> |
| 46 </div> | 39 </div> |
| 47 <div class="item2"> | 40 <div class="item2"> |
| 48 <div style="height: 50px"></div> | 41 <div style="height: 50px"></div> |
| 49 </div> | 42 </div> |
| 50 </div> | 43 </div> |
| 51 </div> | 44 </div> |
| OLD | NEW |