2 <html class=
"reftest-wait"
3 reftest-scrollport-w=
"800" reftest-scrollport-h=
"1000"
4 reftest-displayport-w=
"800" reftest-displayport-h=
"1000"
5 reftest-no-sync-layers
>
7 <meta name=
"viewport" content=
"width=600; height=400; initial-scale=1.0">
9 <script type=
"text/javascript">
10 function initialPaint() {
11 window
.removeEventListener("MozAfterPaint", initialPaint
);
16 var box
= document
.getElementById("input");
17 box
.value
= "Hello kitty";
18 window
.addEventListener("MozAfterPaint", repaint
);
22 window
.removeEventListener("MozAfterPaint", repaint
);
23 setTimeout(finish
, 0);
27 document
.documentElement
.removeAttribute("class");
30 window
.addEventListener("MozAfterPaint", initialPaint
);
34 <body style=
"width: 600px; height: 400px;">
35 <div style=
"position: absolute; left: 0px; top: 0px;
36 width=600px height=600px">
37 <div style=
"position: absolute; left: 0px; top: 0px;
38 width: 600px; height: 400px;
39 background-color: green;"></div>
40 <div style=
"position: absolute; left: 0px; top: 400px;
41 width: 100px; height: 100px;">
42 <input type=
"text" id=
"input" size=
"20" style=
"border: none;"></input>
44 <div style=
"position: absolute; left: 0px; top: 500px;
45 width: 600px; height: 100px;
46 background-color: yellow;"></div>