blob: d6ce21b08fbcd347e14c6aceaae5806b6fb483ce [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