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

Side by Side Diff: LayoutTests/fast/forms/reportValidity-handler-updates-dom-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 ValidationMessageClient: main-message=Please fill out this field. sub-message=
4 ValidationMessageClient: main-message=Please fill out this field. sub-message=
5 HTMLFormElement::reportValidity() with cases that event handlers called by repor tValidity() updates DOM structure.
6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8
9
10 The target form is removed.
11 PASS $("f1").reportValidity() is false
12
13 A control to be checked is removed.
14 PASS $("f1").reportValidity() is false
15 PASS handler2Called is false
16 PASS document.activeElement is $("i1")
17
18 A control that was checked was removed.
19 PASS $("f1").reportValidity() is false
20 PASS handler2Called is true
21 PASS document.activeElement is $("i2")
22
23 A new control is added.
24 PASS $("f1").reportValidity() is false
25 PASS handler2Called is false
26 PASS document.activeElement is $("i1")
27
28 A control is moved to another form.
29 PASS $("f1").reportValidity() is false
30 PASS handler2Called is false
31 PASS document.activeElement is $("i1")
32
33 A control is moved to another document.
34 PASS $("f1").reportValidity() is true
35 PASS successfullyParsed is true
36
37 TEST COMPLETE
38
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/reportValidity-handler-updates-dom.html ('k') | LayoutTests/fast/forms/reportValidity-invalid.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698