blob: d789c86ac1ff15a891f89d3a74597035ebe26066 [file] [log] [blame]
https://bugs.webkit.org/show_bug.cgi?id=67233 - Setting the value of a select to an invalid value should unset the selection.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-- Menu list select:
Setting the value to an invalid value:
PASS sel.selectedIndex is -1
Setting the value to null:
PASS sel.selectedIndex is -1
Setting the value to undefined:
PASS sel.selectedIndex is -1
-- List box select:
Setting the value to an invalid value:
PASS sel.selectedIndex is -1
Setting the value to null:
PASS sel.selectedIndex is -1
Setting the value to undefined:
PASS sel.selectedIndex is -1
PASS successfullyParsed is true
TEST COMPLETE