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