Files
tubestation/layout/tables/reftests/dynamic-text-indent-table-cell.html
2017-03-03 16:14:39 -05:00

20 lines
390 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<table>
<tr>
<td>
Some text
</td>
</tr>
</table>
<script>
onload = function() {
var td = document.querySelector("td");
// Make sure layout has happened.
var width = td.offsetWidth;
td.style.textIndent = "50px";
document.documentElement.className = "";
}
</script>
</html>