length;i++){
			var test=tests[i];
			var actual = test.func(obj);
			dojo.debug(test.name + ": actual=["+ actual.width + ", " + actual.height + "], expected=[" + test.expected.w + ", " + test.expected.h + ", " + "]");
		}
	}
}
dojo.addOnLoad(onLoad);
</script>
</head>
<body>

<p>HTML before</p>
<p>HTML before</p>
<table id="mytable" style="margin: 5px 5px 5px 5px; padding: 7px 7px 7px 7px; border: 3px solid blue;">
<tr><td>table</td></tr>
</table>

<div id="mydiv" style="margin: 5px 5px 5px 5px; padding: 7