2 <html class=
"reftest-wait" style=
"-moz-user-select:none" spellcheck=
"false">
4 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
5 <script src=
"/tests/SimpleTest/EventUtils.js"></script>
7 <title>Testcase #
2 for bug
1123067</title>
10 for (var i
= 0; i
< 5; ++i
) {
11 synthesizeKey("KEY_ArrowRight");
13 synthesizeKey("KEY_ArrowLeft");
14 document
.documentElement
.removeAttribute("class");
17 document
.designMode
='on';
18 document
.querySelector('div').focus();
19 document
.body
.offsetHeight
;
24 div { outline:
1px solid black; }
29 <div>This text is NOT selectable.
</div>
32 SimpleTest
.waitForFocus(runTests
);