summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/reportValidity-handler-updates-dom-expected.txt
blob: 561d5d9fe01cf31f9afde26425435ba758fbfc4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
ValidationMessageClient: main-message=Please fill out this field. sub-message=
ValidationMessageClient: main-message=Please fill out this field. sub-message=
ValidationMessageClient: main-message=Please fill out this field. sub-message=
ValidationMessageClient: main-message=Please fill out this field. sub-message=
HTMLFormElement::reportValidity() with cases that event handlers called by reportValidity() updates DOM structure.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


The target form is removed.
PASS $("f1").reportValidity() is false

A control to be checked is removed.
PASS $("f1").reportValidity() is false
PASS handler2Called is false
PASS document.activeElement is $("i1")

A control that was checked was removed.
PASS $("f1").reportValidity() is false
PASS handler2Called is true
PASS document.activeElement is $("i2")

A new control is added.
PASS $("f1").reportValidity() is false
PASS handler2Called is false
PASS document.activeElement is $("i1")

A control is moved to another form.
PASS $("f1").reportValidity() is false
PASS handler2Called is false
PASS document.activeElement is $("i1")

A control is moved to another document.
PASS $("f1").reportValidity() is true
PASS successfullyParsed is true

TEST COMPLETE