RetroZilla/layout/html/tests/table/bugs/bug102145-4.html

22 lines
583 B
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test Page dom test bug 102145</title>
<script language="JavaScript">
function foo(elementId) {
myElement = document.getElementById(elementId);
myElement.setAttribute("style","height:200;width:200");
}
</script>
</head>
<body onLoad="foo('mytable')">
<table id="mytable" style="width:100%"><tr><td style="background-color:green">
I should be 200px x 200px
</td></tr></table>
</body>
</html>