Skip to content

Commit

Permalink
Update focus-method-delegatesFocus.html
Browse files Browse the repository at this point in the history
  • Loading branch information
rakina authored Oct 11, 2019
1 parent d50f1a3 commit a1a7eeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shadow-dom/focus/focus-method-delegatesFocus.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
// No focusable element under #host in the flat tree.
host.focus();
assert_equals(shadowRoot.activeElement, null);
assert_equals(document.activeElement, null);
assert_equals(document.activeElement, document.body);
}, "focus() on host with delegatesFocus, all without tabindex");

test(() => {
Expand Down Expand Up @@ -167,7 +167,7 @@
// No focusable element under #host in the flat tree.
host.focus();
assert_equals(shadowRoot.activeElement, null);
assert_equals(document.activeElement, null);
assert_equals(document.activeElement, document.body);
}, "focus() on host with delegatesFocus & tabindex=0, #outside with tabindex=0");

test(() => {
Expand Down

0 comments on commit a1a7eeb

Please sign in to comment.