OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <div id="container"> | 7 <div id="container"> |
8 <!-- Focusable elements --> | 8 <!-- Focusable elements --> |
9 <a id="anchor" href="tabindex-defaults.html">anchor</a> | 9 <a id="anchor" href="tabindex-defaults.html">anchor</a> |
10 <button id="button">button</button> | 10 <button id="button">button</button> |
11 <input id="input"> | 11 <input id="input"> |
12 <select id="select"></select> | 12 <select id="select"></select> |
13 <textarea id="textarea"></textarea> | 13 <textarea id="textarea"></textarea> |
14 <div id="editableDiv" contenteditable="true"></div> | 14 <div id="editableDiv" contenteditable="true"></div> |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 shouldBe('input.setAttribute("tabindex", "9999999999"); input.tabIndex', '0'); | 49 shouldBe('input.setAttribute("tabindex", "9999999999"); input.tabIndex', '0'); |
50 shouldBe('select.setAttribute("tabindex", "9999999999"); select.tabIndex', '0'); | 50 shouldBe('select.setAttribute("tabindex", "9999999999"); select.tabIndex', '0'); |
51 shouldBe('textarea.setAttribute("tabindex", "9999999999"); textarea.tabIndex', '
0'); | 51 shouldBe('textarea.setAttribute("tabindex", "9999999999"); textarea.tabIndex', '
0'); |
52 shouldBe('editableDiv.setAttribute("tabindex", "9999999999"); editableDiv.tabInd
ex', '0'); | 52 shouldBe('editableDiv.setAttribute("tabindex", "9999999999"); editableDiv.tabInd
ex', '0'); |
53 shouldBe('normalDiv.setAttribute("tabindex", "9999999999"); normalDiv.tabIndex',
'-1'); | 53 shouldBe('normalDiv.setAttribute("tabindex", "9999999999"); normalDiv.tabIndex',
'-1'); |
54 | 54 |
55 document.getElementById('container').innerHTML = ''; | 55 document.getElementById('container').innerHTML = ''; |
56 </script> | 56 </script> |
57 </body> | 57 </body> |
58 </html> | 58 </html> |
OLD | NEW |