36 lines
576 B
HTML
36 lines
576 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
|
|
<style>
|
|
#container {
|
|
width: 100px;
|
|
display: table;
|
|
-webkit-box-reflect: left;
|
|
}
|
|
#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>
|