| Index: LayoutTests/fast/forms/reportValidity-002-expected.txt
|
| diff --git a/LayoutTests/fast/forms/reportValidity-002-expected.txt b/LayoutTests/fast/forms/reportValidity-002-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bd1342dea67e5e0af9c831dd03d2438b37e1592d
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/forms/reportValidity-002-expected.txt
|
| @@ -0,0 +1,26 @@
|
| +ValidationMessageClient: main-message=Please fill out this field. sub-message=
|
| +ValidationMessageClient: main-message=Please match the requested format. sub-message=
|
| +ValidationMessageClient: main-message=Please fill out this field. sub-message=
|
| +ValidationMessageClient: main-message=Please select an item in the list. sub-message=
|
| +This test checks if reportValidity() returns correctly a false (meaning error) result on invalid elements, and returns a true result on a blank but valid elements. Blank but non-placeholder label options are valid.
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +
|
| +PASS reportValidityFor("input-empty") is false
|
| +PASS backgroundOf("input-empty") is focusedColor
|
| +PASS reportValidityFor("input-pattern-mismatch") is false
|
| +PASS backgroundOf("input-pattern-mismatch") is focusedColor
|
| +PASS reportValidityFor("textarea") is false
|
| +PASS backgroundOf("textarea") is focusedColor
|
| +PASS reportValidityFor("select-no-explicit-value") is true
|
| +PASS backgroundOf("select-no-explicit-value") is unfocusedColor
|
| +PASS reportValidityFor("select-placeholder") is false
|
| +PASS backgroundOf("select-placeholder") is focusedColor
|
| +PASS reportValidityFor("select-non-placeholder") is true
|
| +PASS backgroundOf("select-non-placeholder") is unfocusedColor
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|