| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../http/tests/inspector/timeline-test.js"></script> | 4 <script src="../../http/tests/inspector/timeline-test.js"></script> |
| 5 <style> | 5 <style> |
| 6 .relayout-boundary { | 6 .relayout-boundary { |
| 7 overflow: hidden; | 7 overflow: hidden; |
| 8 width: 100px; | 8 width: 100px; |
| 9 height: 100px; | 9 height: 100px; |
| 10 } | 10 } |
| 11 </style> | 11 </style> |
| 12 <script> | 12 <script> |
| 13 | 13 |
| 14 function prepare() | 14 function prepare() |
| 15 { | 15 { |
| 16 window.internals.settings.setTextAutosizingEnabled(true); | 16 window.internals.settings.setTextAutosizingEnabled(true); |
| 17 testRunner.display(); | |
| 18 } | 17 } |
| 19 | 18 |
| 20 function performActions() | 19 function performActions() |
| 21 { | 20 { |
| 22 invalidateAndForceLayout(document.getElementById("invalidate1")); | 21 invalidateAndForceLayout(document.getElementById("invalidate1")); |
| 23 invalidateAndForceLayout(document.getElementById("invalidate2")); | 22 invalidateAndForceLayout(document.getElementById("invalidate2")); |
| 24 } | 23 } |
| 25 | 24 |
| 26 function invalidateAndForceLayout(element) | 25 function invalidateAndForceLayout(element) |
| 27 { | 26 { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 54 <div></div> | 53 <div></div> |
| 55 <div>text</div> | 54 <div>text</div> |
| 56 <div id="invalidate2"><div>text</div></div> | 55 <div id="invalidate2"><div>text</div></div> |
| 57 <div></div> | 56 <div></div> |
| 58 <div></div> | 57 <div></div> |
| 59 <div>text</div> | 58 <div>text</div> |
| 60 </div> | 59 </div> |
| 61 | 60 |
| 62 </body> | 61 </body> |
| 63 </html> | 62 </html> |
| OLD | NEW |