blob: b2e09a5bd74ddee3f67a68e683705ed4e391f0ca [file] [log] [blame]
Select multiple options with mouse drag with no. of options less than the size attribute
Also test mouse drag on select element without multiple attribute select only the option under mouse
Test for select element with multiple attribute
Dragging down
PASS document.getElementById("selectId").options[0].selected is true
PASS document.getElementById("selectId").options[1].selected is true
PASS document.getElementById("selectId").options[2].selected is true
PASS document.getElementById("selectId").options[3].selected is true
Dragging up
PASS document.getElementById("selectId").options[0].selected is true
PASS document.getElementById("selectId").options[1].selected is true
PASS document.getElementById("selectId").options[2].selected is true
PASS document.getElementById("selectId").options[3].selected is true
Dragging with addSelectionKey
PASS document.getElementById("selectId").options[0].selected is true
PASS document.getElementById("selectId").options[2].selected is true
PASS document.getElementById("selectId").options[3].selected is true
PASS document.getElementById("selectId").options[4].selected is true
Dragging with rangeSelectionKey
PASS document.getElementById("selectId").options[0].selected is true
PASS document.getElementById("selectId").options[1].selected is true
PASS document.getElementById("selectId").options[2].selected is true
PASS document.getElementById("selectId").options[3].selected is true
Test for select element without multiple attribute
Dragging down
PASS document.getElementById("nonmultiple").options[0].selected is false
PASS document.getElementById("nonmultiple").options[1].selected is false
PASS document.getElementById("nonmultiple").options[2].selected is false
PASS document.getElementById("nonmultiple").options[3].selected is true
Dragging up
PASS document.getElementById("nonmultiple").options[0].selected is true
PASS document.getElementById("nonmultiple").options[1].selected is false
PASS document.getElementById("nonmultiple").options[2].selected is false
PASS document.getElementById("nonmultiple").options[3].selected is false
Dragging with addSelectionKey
PASS document.getElementById("nonmultiple").options[0].selected is false
PASS document.getElementById("nonmultiple").options[1].selected is false
PASS document.getElementById("nonmultiple").options[2].selected is false
PASS document.getElementById("nonmultiple").options[3].selected is true
Dragging with rangeSelectionKey
PASS document.getElementById("nonmultiple").options[0].selected is true
PASS document.getElementById("nonmultiple").options[1].selected is false
PASS document.getElementById("nonmultiple").options[2].selected is false
PASS document.getElementById("nonmultiple").options[3].selected is false
PASS successfullyParsed is true
TEST COMPLETE