| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../resources/js-test.js"></script> | 4 <script src="../resources/js-test.js"></script> |
| 5 <script src="resources/shadow-dom.js"></script> | 5 <script src="../fast/dom/shadow/resources/shadow-dom.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p>This tests TAB focus navigation with delegatesFocus flag on shadow hosts</p> | 8 <p>This tests TAB focus navigation with delegatesFocus flag on shadow hosts</p> |
| 9 <pre id="console"></pre> | 9 <pre id="console"></pre> |
| 10 <div id="sandbox"></div> | 10 <div id="sandbox"></div> |
| 11 <script> | 11 <script> |
| 12 function prepareDOMTree(parent, mode, tabindex, delegatesFocus) { | 12 function prepareDOMTree(parent, mode, tabindex, delegatesFocus) { |
| 13 parent.innerHTML = ''; | 13 parent.innerHTML = ''; |
| 14 parent.appendChild( | 14 parent.appendChild( |
| 15 createDOM('div', {'id': 'testform'}, | 15 createDOM('div', {'id': 'testform'}, |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 208 |
| 209 test(); | 209 test(); |
| 210 | 210 |
| 211 debug('Test finished.'); | 211 debug('Test finished.'); |
| 212 } | 212 } |
| 213 | 213 |
| 214 run_tests(); | 214 run_tests(); |
| 215 </script> | 215 </script> |
| 216 </body> | 216 </body> |
| 217 </html> | 217 </html> |
| OLD | NEW |