Index: LayoutTests/fast/dom/shadow/focus-navigation-with-delegatesFocus-expected.txt |
diff --git a/LayoutTests/fast/dom/shadow/focus-navigation-with-delegatesFocus-expected.txt b/LayoutTests/fast/dom/shadow/focus-navigation-with-delegatesFocus-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e11f9151fe2f2f16d5a0c3fa761eb71989c2de7a |
--- /dev/null |
+++ b/LayoutTests/fast/dom/shadow/focus-navigation-with-delegatesFocus-expected.txt |
@@ -0,0 +1,105 @@ |
+This tests TAB focus navigation with delegatesFocus flag on shadow hosts |
+ |
+Testing shadow host with possible combinations of tabindex and delegatesFocus |
+(1/8) Testing tab navigation order without tabindex and delegatesFocus=false |
+PASS hostDiv.shadowRoot.delegatesFocus is false |
+PASS hostDiv.tabIndex is -1 |
+Should move from input-before to host-div/inner-input in forward |
+PASS |
+Should move from host-div/inner-input to input-after in forward |
+PASS |
+Should move from input-after to host-div/inner-input in backward |
+PASS |
+Should move from host-div/inner-input to input-before in backward |
+PASS |
+(2/8) Testing tab navigation order without tabindex and delegatesFocus=true |
+PASS hostDiv.shadowRoot.delegatesFocus is true |
+PASS hostDiv.tabIndex is 0 |
+Should move from input-before to host-div/inner-input in forward |
+PASS |
+Should move from host-div/inner-input to input-after in forward |
+PASS |
+Should move from input-after to host-div/inner-input in backward |
+PASS |
+Should move from host-div/inner-input to input-before in backward |
+PASS |
+(3/8) Testing tab navigation order with tabindex=0 and delegatesFocus=false |
+PASS hostDiv.shadowRoot.delegatesFocus is false |
+PASS hostDiv.getAttribute("tabindex") is "0" |
+Should move from input-before to host-div in forward |
+PASS |
+Should move from host-div to host-div/inner-input in forward |
+PASS |
+Should move from host-div/inner-input to input-after in forward |
+PASS |
+Should move from input-after to host-div/inner-input in backward |
+PASS |
+Should move from host-div/inner-input to host-div in backward |
+PASS |
+Should move from host-div to input-before in backward |
+PASS |
+(4/8)Testing tab navigation order with tabindex=0 and delegatesFocus=true |
+PASS hostDiv.shadowRoot.delegatesFocus is true |
+PASS hostDiv.getAttribute("tabindex") is "0" |
+Should move from input-before to host-div/inner-input in forward |
+PASS |
+Should move from host-div/inner-input to input-after in forward |
+PASS |
+Should move from input-after to host-div/inner-input in backward |
+PASS |
+Should move from host-div/inner-input to input-before in backward |
+PASS |
+(5/8) Testing tab navigation order with tabindex=-1 and delegatesFocus=false |
+PASS hostDiv.shadowRoot.delegatesFocus is false |
+PASS hostDiv.getAttribute("tabindex") is "-1" |
+Should move from input-before to host-div/inner-input in forward |
+PASS |
+Should move from host-div/inner-input to input-after in forward |
+PASS |
+Should move from input-after to host-div/inner-input in backward |
+PASS |
+Should move from host-div/inner-input to input-before in backward |
+PASS |
+(6/8) Testing tab navigation order with tabindex=-1 and delegatesFocus=true |
+PASS hostDiv.shadowRoot.delegatesFocus is true |
+PASS hostDiv.getAttribute("tabindex") is "-1" |
+Should move from input-before to host-div/inner-input in forward |
+PASS |
+Should move from host-div/inner-input to input-after in forward |
+PASS |
+Should move from input-after to host-div/inner-input in backward |
+PASS |
+Should move from host-div/inner-input to input-before in backward |
+PASS |
+(7/8) Testing tab navigation order with tabindex=1 and delegatesFocus=false |
+PASS hostDiv.shadowRoot.delegatesFocus is false |
+PASS hostDiv.getAttribute("tabindex") is "1" |
+Should move from input-before to input-after in forward |
+PASS |
+Should move from input-after to host-div in forward |
+PASS |
+Should move from host-div to host-div/inner-input in forward |
+PASS |
+Should move from host-div/inner-input to host-div in backward |
+PASS |
+Should move from host-div to input-after in backward |
+PASS |
+Should move from input-after to input-before in backward |
+PASS |
+(8/8) Testing tab navigation order with tabindex=1 and delegatesFocus=true |
+PASS hostDiv.shadowRoot.delegatesFocus is true |
+PASS hostDiv.getAttribute("tabindex") is "1" |
+Should move from input-before to input-after in forward |
+PASS |
+Should move from input-after to host-div/inner-input in forward |
+PASS |
+Should move from host-div/inner-input to input-after in backward |
+PASS |
+Should move from input-after to input-before in backward |
+PASS |
+Test finished. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |
+ |