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

Unified Diff: LayoutTests/fast/forms/textarea-minlength-expected.txt

Issue 435753003: Implement minlength for <input> and <textarea>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add more layout tests 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
Index: LayoutTests/fast/forms/textarea-minlength-expected.txt
diff --git a/LayoutTests/fast/forms/textarea-minlength-expected.txt b/LayoutTests/fast/forms/textarea-minlength-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf9e829c1cf8067182a0ca9a4a045d0ed0213f4a
--- /dev/null
+++ b/LayoutTests/fast/forms/textarea-minlength-expected.txt
@@ -0,0 +1,22 @@
+Tests for HTMLTextAreaElement.minLength behaviors.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS textArea.minLength is -1
+PASS textArea.minLength is -1
+PASS textArea.minLength is -1
+PASS textArea.minLength is 1
+PASS textArea.minLength is 256
+PASS textArea.getAttribute("minlength") is "6"
+PASS textArea.minLength = -1 threw exception IndexSizeError: Failed to set the 'minLength' property on 'HTMLTextAreaElement': The value provided (-1) is not positive or 0..
+PASS textArea.getAttribute("minlength") is "6"
+PASS textArea.minLength = 11 threw exception IndexSizeError: Failed to set the 'minLength' property on 'HTMLTextAreaElement': The minLength provided (11) is greater than the maximum bound (10)..
+PASS textArea.getAttribute("minlength") is "6"
+PASS textArea.minLength = 10; textArea.getAttribute("minlength") is "10"
+PASS textArea.minLength is 0
+PASS textArea.getAttribute("minlength") is "0"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698