| 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 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p>This tests that pressing Tab key should traverse into iframe and shadow tree,
and pressing Shift-Tab should reverse the order.</p> | 8 <p>This tests that pressing Tab key should traverse into iframe and shadow tree,
and pressing Shift-Tab should reverse the order.</p> |
| 9 <pre id="console"></pre> | 9 <pre id="console"></pre> |
| 10 <script> | 10 <script> |
| 11 function createTextInputElement(doc, id, tabIndex) { | 11 function createTextInputElement(doc, id, tabIndex) { |
| 12 var input = doc.createElement('input'); | 12 var input = doc.createElement('input'); |
| 13 input.type = 'text'; | 13 input.type = 'text'; |
| 14 input.id = id; | 14 input.id = id; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 'input-15', | 99 'input-15', |
| 100 'input-13', | 100 'input-13', |
| 101 'input-01', | 101 'input-01', |
| 102 ]); | 102 ]); |
| 103 | 103 |
| 104 log('\nTest finished.'); | 104 log('\nTest finished.'); |
| 105 } | 105 } |
| 106 </script> | 106 </script> |
| 107 </body> | 107 </body> |
| 108 </html> | 108 </html> |
| OLD | NEW |