no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / base / tests / bug1123067-3.html
blob54468d2804199013dc836f3de28d819c06d74f78
1 <!DOCTYPE HTML>
2 <html class="reftest-wait" style="-moz-user-select:none" spellcheck="false">
3 <head>
4 <script src="/tests/SimpleTest/SimpleTest.js"></script>
5 <script src="/tests/SimpleTest/EventUtils.js"></script>
6 <meta charset="utf-8">
7 <title>Testcase #2 for bug 1123067</title>
8 <script>
9 function test() {
10 for (var i = 0; i < 5; ++i) {
11 synthesizeKey("KEY_ArrowRight");
13 synthesizeKey("KEY_ArrowLeft");
14 document.documentElement.removeAttribute("class");
16 function runTests() {
17 document.designMode='on';
18 document.querySelector('div').focus();
19 document.body.offsetHeight;
20 setTimeout(test,0)
22 </script>
23 <style>
24 div { outline:1px solid black; }
25 </style>
26 </head>
27 <body>
29 <div>This text is NOT selectable.</div>
31 <script>
32 SimpleTest.waitForFocus(runTests);
33 </script>
34 </body>
35 </html>