blob: 01e8096453336e3a7ca482a322de77e362fdc49e [file] [log] [blame]
valueMissing tests for radio buttons
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Without form element
No checked button:
PASS inputs[0].validity.valueMissing is true
PASS inputs[1].validity.valueMissing is true
PASS inputs[2].validity.valueMissing is true
The second button has been checked:
PASS inputs[0].validity.valueMissing is false
PASS inputs[1].validity.valueMissing is false
PASS inputs[2].validity.valueMissing is false
The first button has been checked:
PASS inputs[0].validity.valueMissing is false
PASS inputs[1].validity.valueMissing is false
PASS inputs[2].validity.valueMissing is false
The third button has been checked:
PASS inputs[0].validity.valueMissing is false
PASS inputs[1].validity.valueMissing is false
PASS inputs[2].validity.valueMissing is false
With form element
No checked button:
PASS inputs[0].validity.valueMissing is true
PASS inputs[1].validity.valueMissing is true
PASS inputs[2].validity.valueMissing is true
The first button has been checked:
PASS inputs[0].validity.valueMissing is false
PASS inputs[1].validity.valueMissing is false
PASS inputs[2].validity.valueMissing is false
The second button has been checked:
PASS inputs[0].validity.valueMissing is false
PASS inputs[1].validity.valueMissing is false
PASS inputs[2].validity.valueMissing is false
The third button has been checked:
PASS inputs[0].validity.valueMissing is false
PASS inputs[1].validity.valueMissing is false
PASS inputs[2].validity.valueMissing is false
Not in a radio button group
PASS requiredButton.validity.valueMissing is true
PASS requiredButton.validity.valueMissing is true
PASS button.validity.valueMissing is true
PASS button.validity.valueMissing is false
PASS requiredButton.validity.valueMissing is true
PASS successfullyParsed is true
TEST COMPLETE