| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../../resources/js-test.js"></script> | 2 <script src="../resources/js-test.js"></script> |
| 3 <script src="resources/shadow-dom.js"></script> | 3 <script src="../fast/dom/shadow/resources/shadow-dom.js"></script> |
| 4 <body> | 4 <body> |
| 5 <pre id="console"></pre> | 5 <pre id="console"></pre> |
| 6 <input id="defaultFocus"> | 6 <input id="defaultFocus"> |
| 7 <div id="sandbox"></div> | 7 <div id="sandbox"></div> |
| 8 </body> | 8 </body> |
| 9 <script> | 9 <script> |
| 10 description('Click inside focusable shadow host should focus the host.'); | 10 description('Click inside focusable shadow host should focus the host.'); |
| 11 | 11 |
| 12 function prepareDOMTree(parent, delegatesFocus) | 12 function prepareDOMTree(parent, delegatesFocus) |
| 13 { | 13 { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 clickOn(inputB); | 103 clickOn(inputB); |
| 104 checkInnermostActiveElement('shadowHost/inputB'); | 104 checkInnermostActiveElement('shadowHost/inputB'); |
| 105 clickOn(innerDiv); | 105 clickOn(innerDiv); |
| 106 checkInnermostActiveElement('shadowHost/inputB'); | 106 checkInnermostActiveElement('shadowHost/inputB'); |
| 107 shouldBe('inputB.selectionStart', '1'); | 107 shouldBe('inputB.selectionStart', '1'); |
| 108 shouldBe('inputB.selectionEnd', '1'); | 108 shouldBe('inputB.selectionEnd', '1'); |
| 109 } | 109 } |
| 110 | 110 |
| 111 runTest(); | 111 runTest(); |
| 112 </script> | 112 </script> |
| OLD | NEW |