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

Unified Diff: LayoutTests/fast/forms/form-pseudo-valid-style-expected.txt

Issue 646543004: Implement :valid and :invalid pseudoclass for <form> (resubmitting) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reorder matchesValidityPseudoClasses() 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/forms/form-pseudo-valid-style.html ('k') | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/form-pseudo-valid-style-expected.txt
diff --git a/LayoutTests/fast/forms/form-pseudo-valid-style-expected.txt b/LayoutTests/fast/forms/form-pseudo-valid-style-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14ecf3480e3ff858e27e5627e01f682f97cfdcea
--- /dev/null
+++ b/LayoutTests/fast/forms/form-pseudo-valid-style-expected.txt
@@ -0,0 +1,32 @@
+Check if :valid/:invalid CSS pseudo selectors are lively applied for forms
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Removing and adding required text inputs and modifying ther value by a DOM tree mutation:
+PASS backgroundOf(form1) is invalidColor
+PASS backgroundOf(sub1) is subInvalidColor
+PASS form1.removeChild(input1); backgroundOf(form1) is validColor
+PASS backgroundOf(sub1) is subValidColor
+PASS form1.appendChild(input1); backgroundOf(form1) is invalidColor
+PASS backgroundOf(sub1) is subInvalidColor
+PASS input1.setAttribute("value", "a"); backgroundOf(form1) is validColor
+PASS backgroundOf(sub1) is subValidColor
+PASS input2.setAttribute("value", ""); backgroundOf(form1) is invalidColor
+PASS backgroundOf(sub1) is subInvalidColor
+
+Adding a required text input that is not a direct child of the form:
+PASS backgroundOf(form1) is validColor
+PASS div1.appendChild(input1); backgroundOf(form1) is invalidColor
+
+Render multiple forms and move an invalid input from one to another:
+PASS backgroundOf($("form1")) is invalidColor
+PASS backgroundOf($("form2")) is validColor
+PASS backgroundOf($("form3")) is validColor
+PASS backgroundOf($("form1")) is validColor
+PASS backgroundOf($("form3")) is invalidColor
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/forms/form-pseudo-valid-style.html ('k') | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698