Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: LayoutTests/fast/forms/reportValidity-invalid-expected.txt

Issue 660783002: Implement reportValidity() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Apply couple more tkent's comments + pull Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 ValidationMessageClient: main-message=Please fill out this field. sub-message=
2 ValidationMessageClient: main-message=Please match the requested format. sub-mes sage=
3 ValidationMessageClient: main-message=Please fill out this field. sub-message=
4 ValidationMessageClient: main-message=Please select an item in the list. sub-mes sage=
5 ValidationMessageClient: main-message=Please fill out this field. sub-message=
6 This test checks if reportValidity() returns correctly a false (meaning error) r esult on invalid elements, and returns a true result on a blank but valid elemen ts. Blank but non-placeholder label options are valid.
7
8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
9
10
11
12 PASS reportValidityFor("input-empty") is false
13 PASS document.activeElement is $("input-empty")
14 PASS reportValidityFor("input-pattern-mismatch") is false
15 PASS document.activeElement is $("input-pattern-mismatch")
16 PASS reportValidityFor("textarea") is false
17 PASS document.activeElement is $("textarea")
18 PASS reportValidityFor("select-no-explicit-value") is true
19 PASS document.activeElement is not $("select-no-explicit-value")
20 PASS reportValidityFor("select-placeholder") is false
21 PASS document.activeElement is $("select-placeholder")
22 PASS reportValidityFor("select-non-placeholder") is true
23 PASS document.activeElement is not $("select-non-placeholder")
24 PASS reportValidityFor("sad-form") is false
25 PASS document.activeElement is $("input-empty")
26 PASS successfullyParsed is true
27
28 TEST COMPLETE
29
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/reportValidity-invalid.html ('k') | LayoutTests/fast/forms/reportValidity-valid.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698