Index: LayoutTests/fast/forms/reportValidity-handler-updates-dom-expected.txt |
diff --git a/LayoutTests/fast/forms/reportValidity-handler-updates-dom-expected.txt b/LayoutTests/fast/forms/reportValidity-handler-updates-dom-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..561d5d9fe01cf31f9afde26425435ba758fbfc4c |
--- /dev/null |
+++ b/LayoutTests/fast/forms/reportValidity-handler-updates-dom-expected.txt |
@@ -0,0 +1,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 |
+ |