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

Side by Side Diff: LayoutTests/fast/forms/reportValidity-cancel-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 fill out this field. sub-message=
3 Tests for reportValidity() with invalid event canceling
4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6
7
8 "invalid" event is not canceled.
9 PASS input.addEventListener("invalid", nothingListener, false); !input.reportVal idity() && invalidFired is true
10 PASS document.activeElement is $("input-unset")
11 PASS invalidFired = false; !form.reportValidity() && invalidFired is true
12 PASS document.activeElement is $("input-unset")
13
14 "invalid" event is canceled.
15 PASS input.addEventListener("invalid", cancelListener, false); !input.reportVali dity() && invalidFired is true
16 PASS document.activeElement is not $("input-unset")
17 PASS invalidFired = false; !form.reportValidity() && invalidFired is true
18 PASS document.activeElement is not $("input-unset")
19 PASS successfullyParsed is true
20
21 TEST COMPLETE
22
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/reportValidity-cancel.html ('k') | LayoutTests/fast/forms/reportValidity-handler-updates-dom.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698