7 refreshIntervalId
= setInterval(function(){moveInputElement();}, 10);
9 function moveInputElement()
11 var input
= document
.getElementById('input');
13 input
.style
.left
= i
*10 + 'px';
15 clearInterval(refreshIntervalId
);
16 if (window
.testRunner
)
17 testRunner
.notifyDone();
20 if (window
.testRunner
)
21 testRunner
.waitUntilDone();
22 window
.onload
= repaintTest();
33 <div>This change checks that the caret in the
>input
< below doesn't shift out of it after several layouts.
</div>
34 <div>This test has passed if the caret is centered
<b>inside
</b> the
>input
<</div>
35 <input id=
"input" type=
"text" autofocus
>