Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE HTML>
2 <html class="reftest-wait"
3 reftest-viewport-w="600" reftest-viewport-h="400"
4 reftest-displayport-w="800" reftest-displayport-h="1000"
5 reftest-no-sync-layers>
6 <head>
7 <title></title>
8 <script type="text/javascript">
9 function initialPaint() {
10 window.removeEventListener("MozAfterPaint", initialPaint, false);
11 setTimeout(type, 0);
12 }
14 function type() {
15 var box = document.getElementById("input");
16 box.value = "Hello kitty";
17 window.addEventListener("MozAfterPaint", repaint, false);
18 }
20 function repaint() {
21 window.removeEventListener("MozAfterPaint", repaint, false);
22 setTimeout(finish, 0);
23 }
25 function finish() {
26 document.documentElement.removeAttribute("class");
27 }
29 window.addEventListener("MozAfterPaint", initialPaint, false);
30 </script>
31 </head>
33 <body style="width: 600px; height: 400px;">
34 <div style="position: absolute; left: 0px; top: 0px;
35 width=600px height=600px">
36 <div style="position: absolute; left: 0px; top: 0px;
37 width: 600px; height: 400px;
38 background-color: green;"></div>
39 <div style="position: absolute; left: 0px; top: 400px;
40 width: 100px; height: 100px;">
41 <input type="text" id="input" size="20" style="border: none;"></input>
42 </div>
43 <div style="position: absolute; left: 0px; top: 500px;
44 width: 600px; height: 100px;
45 background-color: yellow;"></div>
46 </div>
47 </body>
48 </html>