blob: d049351b0ccc1f3f6834388f1363aebbc38d240f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<html>
<head>
<style>
table { background-color: lightblue; height: 100px; }
td { width: 100px; height: 50px; }
div#target { height: 25px; background-color: lightgreen; }
</style>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
document.getElementById("target").style.width = "50px";
}
</script>
</head>
<body onload="runRepaintTest()">
<table>
<tr>
<td>
<div id="target"></div>
</td>
</tr>
</table>
</body>
</html>
|