blob: b2530c31943ff0c8b086318e82d5c4e4d08914bc [file] [log] [blame]
<html>
<head>
<script src="resources/text-based-repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest()
{
var div = document.getElementById("target");
div.className = "green";
}
</script>
<style>
#target {
background-color: red;
}
td {
width: 100px;
height: 15px;
}
#target.green {
background-color:green;
}
</style>
</head>
<body onload="runRepaintTest()">
<table>
<tr><td>
<tr><td>
<tr><td>
<tr id="target">
<td>
</td>
</tr>
<tr><td>
<tr><td>
<tr><td>
</table>
</body>
</html>