blob: f96174eb74dce4942ad84ab721cdaf256acf3727 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#container {
width: 100px;
display: table;
-webkit-transform: translate(0px, 100px);
}
#main {
width: 1px;
height: 1px;
background-color: black;
}
</style>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
var div = document.getElementById("main");
div.style.width = '2px';
div.style.height = '2px';
}
</script>
</head>
<body onload="runRepaintTest()">
<div id="container">
<div id="main"></div>
</div>
</body>
</html>