| 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="resources/shadow-dom.js"></script> | 
| 6 </head> | 6 </head> | 
| 7 <body> | 7 <body> | 
| 8 <p>This tests that pressing Tab key should traverse into shadow DOM subtrees, an
     d pressing Shift-Tab should reverse the order.</p> | 8 <p>This tests that pressing Tab key should traverse into shadow DOM subtrees, an
     d pressing Shift-Tab should reverse the order.</p> | 
| 9 <pre id="console"></pre> | 9 <pre id="console"></pre> | 
| 10 <script> | 10 <script> | 
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 91         'host-B/older-input-B-1', | 91         'host-B/older-input-B-1', | 
| 92         'host-B/older-input-A-0', | 92         'host-B/older-input-A-0', | 
| 93         'host-B/older-input-B-0', | 93         'host-B/older-input-B-0', | 
| 94 | 94 | 
| 95         // Exits the focus scope of the older sahdow root. Visits the next focus
     able element which follows the shadow insertion point. | 95         // Exits the focus scope of the older sahdow root. Visits the next focus
     able element which follows the shadow insertion point. | 
| 96         'host-B//younger-input-B-0', | 96         'host-B//younger-input-B-0', | 
| 97 | 97 | 
| 98         // Exits the focus scope of the youngest sahdow root. | 98         // Exits the focus scope of the youngest sahdow root. | 
| 99         'light-child-selected-1', | 99         'light-child-selected-1', | 
| 100 | 100 | 
| 101         // 'light-child-non-selected-1' should be skipped since it doesn't parti
     cipate in the composed tree. | 101         // 'light-child-non-selected-1' should be skipped since it doesn't parti
     cipate in the flat tree. | 
| 102         'input-D-1', | 102         'input-D-1', | 
| 103 | 103 | 
| 104         // All elements with tabindex=1 had been traversed in the outermost scop
     e. | 104         // All elements with tabindex=1 had been traversed in the outermost scop
     e. | 
| 105         // So traverse elements with tabindex=0 in next. | 105         // So traverse elements with tabindex=0 in next. | 
| 106         'input-A-0', | 106         'input-A-0', | 
| 107 | 107 | 
| 108         // // A non-focusable shadow host (id=host-A) will be "replaced" with it
     s shadow DOM navigation. | 108         // // A non-focusable shadow host (id=host-A) will be "replaced" with it
     s shadow DOM navigation. | 
| 109         'host-A/input-1', | 109         'host-A/input-1', | 
| 110         'host-A/input-20', | 110         'host-A/input-20', | 
| 111         'host-A/nested-host', | 111         'host-A/nested-host', | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 135     testFocusNavigationBackward(elementsInFocusNavigationOrder); | 135     testFocusNavigationBackward(elementsInFocusNavigationOrder); | 
| 136 | 136 | 
| 137     debug('Test finished.'); | 137     debug('Test finished.'); | 
| 138 } | 138 } | 
| 139 | 139 | 
| 140 test(); | 140 test(); | 
| 141 | 141 | 
| 142 </script> | 142 </script> | 
| 143 </body> | 143 </body> | 
| 144 </html> | 144 </html> | 
| OLD | NEW | 
|---|