DOM Events
Test Description: MouseEvent - Text selection is disabled after cancelling mousedown event.
Use mouse to select the whole line here
Steps:
- Make sure text in the above green box can be selected using mouse
- Dismiss the selection, if any, by clicking at the green box with mouse
- Now, click the button:
- Drag mouse to select the whole line of the text inside the above green box
- Click the button:
Test passes if the word "PASS" appears below after following the above steps.
Test result:
FAIL