table-vspace-hspace-s.html (496B)
1 <!doctype html> 2 <meta charset=utf-8> 3 <title>table vspace hspace (standards mode)</title> 4 <script src=/resources/testharness.js></script> 5 <script src=/resources/testharnessreport.js></script> 6 <div>x</div> 7 <table vspace=25 hspace=25><tr><td>x</table> 8 <div>x</div> 9 <script> 10 test(function() { 11 var style = getComputedStyle(document.querySelector('table')); 12 ['marginTop', 'marginRight', 'marginBottom', 'marginLeft'].forEach(function(m) { 13 assert_equals(style[m], '0px', m); 14 }); 15 }); 16 </script>