From a8a89f224f2170723170a452cb18b46cafb723b6 Mon Sep 17 00:00:00 2001 From: Rakina Zata Amni Date: Fri, 11 Oct 2019 20:46:10 +0900 Subject: [PATCH] Update click-focus-delegatesFocus-tabindex-varies.html --- .../focus/click-focus-delegatesFocus-tabindex-varies.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadow-dom/focus/click-focus-delegatesFocus-tabindex-varies.html b/shadow-dom/focus/click-focus-delegatesFocus-tabindex-varies.html index fe51a9d0d3c0e7..4051db128a9150 100644 --- a/shadow-dom/focus/click-focus-delegatesFocus-tabindex-varies.html +++ b/shadow-dom/focus/click-focus-delegatesFocus-tabindex-varies.html @@ -61,8 +61,8 @@ setTabIndex([aboveSlot], 2); setTabIndex([slot, slotted], 1); await test_driver.click(host); - assert_equals(shadowRoot.activeElement, null); - assert_equals(document.activeElement, aboveSlot); + assert_equals(shadowRoot.activeElement, aboveSlot); + assert_equals(document.activeElement, host); }, "click on host with delegatesFocus, #aboveSlot tabindex = 2, #slot and #slotted tabindex = 1");