2 <title>Repaint test for bug 16034</title>
3 <script src="resources/repaint.js" type="text/javascript"></script>
7 var input = document.getElementById("input");
9 var div = document.getElementById("div");
10 div.style.height = "20px";
14 <body onload="runRepaintTest()">
15 <div style="overflow: hidden; height: 300px; width: 300px; background-color: aliceblue; position: relative;">
16 <div style="overflow: hidden; height: 200px; width: 200px; background-color: silver;">
17 <input id="input" value="FAIL">
18 <div id="selection">Selection is here</div>
19 <div id="div" style="position: absolute; bottom: 0; height: 10px; width: 10px; background-color: lightblue;"></div>
23 var selection = document.getElementById("selection");
24 getSelection().setBaseAndExtent(selection, 0, selection, 0);