blob: 0580f7a57201df3ad147b88b6d229cc5313d6345 [file] [log] [blame]
Test that calling blur() on a shadow host of a focused element clears the focus.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS input = shadowRoot.querySelector("input"); input.focus(); shadowRoot.activeElement is input
PASS document.activeElement is shadowHost
PASS shadowHost.blur(); shadowRoot.activeElement is null
PASS successfullyParsed is true
TEST COMPLETE