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..4f35956b4dcbed23dfc871ee2d8d3c313451683e |
--- /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 document.getElementById("f1").reportValidity() is false |
+ |
+A control to be checked is removed. |
+PASS document.getElementById("f1").reportValidity() is false |
+PASS handler2Called is false |
+PASS backgroundOf("i1") is focusedColor |
+ |
+A control that was checked was removed. |
+PASS document.getElementById("f1").reportValidity() is false |
+PASS handler2Called is true |
+PASS backgroundOf("i2") is focusedColor |
+ |
+A new control is added. |
+PASS document.getElementById("f1").reportValidity() is false |
+PASS handler2Called is false |
+PASS backgroundOf("i1") is focusedColor |
+ |
+A control is moved to another form. |
+PASS document.getElementById("f1").reportValidity() is false |
+PASS handler2Called is false |
+PASS backgroundOf("i1") is focusedColor |
+ |
+A control is moved to another document. |
+PASS document.getElementById("f1").reportValidity() is true |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |