Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <style> | |
| 3 td { | |
| 4 width: 50px; | |
| 5 height: 50px; | |
| 6 padding: 0px; | |
| 7 } | |
| 8 </style> | |
| 9 <script src="../../resources/check-layout.js"></script> | |
| 10 <script type="text/javascript"> | |
| 11 window.testRunner && window.testRunner.waitUntilDone(); | |
| 12 window.addEventListener("load", changeBorderWidthAndCheck); | |
| 13 function changeBorderWidthAndCheck() { | |
| 14 requestAnimationFrame(function() { | |
| 15 document.getElementById("row").style.borderWidth = "4px"; | |
| 16 checkLayout("table"); | |
| 17 window.testRunner && window.testRunner.notifyDone(); | |
|
mstensho (USE GERRIT)
2016/05/09 08:41:53
I wonder if this could be simplified if you instea
dgrogan
2016/05/16 23:34:16
Beautiful. Done.
| |
| 18 }); | |
| 19 } | |
| 20 </script> | |
| 21 There should be a square with a 4px blue border. | |
| 22 <table style="border-collapse:collapse" data-expected-width=58> | |
|
mstensho (USE GERRIT)
2016/05/09 08:41:53
Add data-expected-height too?
dgrogan
2016/05/16 23:34:16
Done.
| |
| 23 <tr style="border:18px solid lightblue" id="row"> | |
| 24 <td /> | |
| 25 </tr> | |
| 26 </table> | |
| OLD | NEW |