blob: f5b5d1c4cc91cb0bf030f6690db7e38900314723 [file] [log] [blame]
<table><td style="font-family: Ahem; width: 5px">x</td></table>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var width = document.getElementsByTagName('td')[0].offsetWidth;
document.body.innerText = 'This tests obtaining the offsetWidth of a layout-dependent table cell.\n'
+ 'The td with width set to 5px should be expanded to have the wider width:\n'
+ width + 'px';
</script>