Upstream version 11.39.250.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / shadow / focus-navigation.html
index cc2882f..074f4bc 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
 <head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test.js"></script>
 <script src="resources/shadow-dom.js"></script>
 </head>
 <body>
@@ -21,6 +21,10 @@ function prepareDOMTree(parent)
                   createDOM('div', {'id': 'host-A', 'tabindex': -1},
                             createShadowRoot(
                                 createDOM('input', {'id': 'input-1', 'tabindex': 1}),
+                                createDOM('div', {'tabindex': 2, 'style': 'visibility:hidden;'},
+                                          createShadowRoot()),
+                                createDOM('input', {'tabindex': 3, 'type': 'date', 'disabled': ''}),
+                                createDOM('select', {'tabindex': 4, 'multiple': '', 'disabled': ''}),
                                 createDOM('div', {'id': 'nested-host', 'tabindex': 30},
                                           createShadowRoot(
                                               createDOM('input', {'tabindex': -1}),
@@ -39,8 +43,7 @@ function prepareDOMTree(parent)
                             createShadowRoot(
                                 createDOM('input', {'id': 'younger-input-A-0', 'tabindex': 0}),
                                 createDOM('input', {'id': 'younger-input-A-1', 'tabindex': 1}),  // The first node in the focusScope
-                                createDOM('shadow', {},
-                                          createDOM('content', {})),
+                                createDOM('shadow', {}),
                                 createDOM('input', {'id': 'younger-input-B-0', 'tabindex': 0}),  // The last node in the focusScope
                                 createDOM('input', {'id': 'younger-input-B-1', 'tabindex': 1})),
                             createDOM('input', {'id': 'light-child-selected-0', 'tabindex': 0}),