blob: 9e7ff7e1a4ed315d5bf72c938a008a6fb0c82f65 [file] [log] [blame]
This tests clicking scrollbars, which should only move the focus if an ancestor is mouse focusable.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Focus should remain in the input
PASS document.activeElement.tagName is "INPUT"
Focus should move if ancestor is mouse focusable
PASS document.activeElement.tagName is "DIV"
PASS document.activeElement.tagName is "DIV"
Focus should move if ancestor is content editable
PASS document.activeElement.tagName is "SPAN"
PASS document.activeElement.tagName is "SPAN"
Form controls should move the focus
PASS document.activeElement.tagName is "TEXTAREA"
PASS document.activeElement.tagName is "SELECT"
Disabled form controls should not move the focus
PASS document.activeElement.tagName is "INPUT"
PASS successfullyParsed is true
TEST COMPLETE