blob: ef56c9769ec958fb5ca77c2f3d81f40d43e20af9 [file] [log] [blame]
This test ensures selectstart is fired exactly once when selecting text by a mouse drag.
Initial state: PASS
Mouse down: PASS
Moving slightly to the right: PASS
Moving slightly to the left: PASS
Moving to the right: FAIL - expected selection to be range but was caret
Moving further to the right: FAIL - expected selection to be range but was caret
Moving back to the left: PASS
Moving to the right again: FAIL - expected selection to be range but was caret
Mouse down on the right: PASS
Moving to the left: FAIL - expected selection to be range but was caret
Done.