blob: adecb7ff513fc6ba3793cc9cb34fb2352d5bea28 [file] [log] [blame]
This tests delegating focus in a shadow tree to an input element. WebKit should move the selection as well as the focus
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.activeElement is host
PASS shadowRoot.querySelector("input") is target
PASS shadowRoot.activeElement is target
PASS target.value is ""
PASS target.value is "hello"
PASS target.selectionStart is 5
PASS target.selectionEnd is 5
PASS successfullyParsed is true
TEST COMPLETE