Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / forms / reportValidity-handler-updates-dom-expected.txt
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 reportValidity() 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