Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / subtree-root-skipped.html
blob04dbd772c2942defe50f3d0d4d70f4ce1989ef5b
1 <head>
2 <title>Repaint test for bug 16034</title>
3 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
4 <script>
5 function repaintTest()
7 var input = document.getElementById("input");
8 input.value = "PASS";
9 var div = document.getElementById("div");
10 div.style.height = "20px";
12 </script>
13 </head>
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>
20 </div>
21 </div>
22 <script>
23 var selection = document.getElementById("selection");
24 getSelection().setBaseAndExtent(selection, 0, selection, 0);
25 </script>
26 </body>