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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 Tests for HTMLTextAreaElement.minLength behaviors.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS textArea.minLength is -1
7 PASS textArea.minLength is -1
8 PASS textArea.minLength is -1
9 PASS textArea.minLength is 1
10 PASS textArea.minLength is 256
11 PASS textArea.getAttribute("minlength") is "6"
12 PASS textArea.minLength = -1 threw exception IndexSizeError: Failed to set the ' minLength' property on 'HTMLTextAreaElement': The value provided (-1) is not pos itive or 0..
13 PASS textArea.getAttribute("minlength") is "6"
14 PASS textArea.minLength = 11 threw exception IndexSizeError: Failed to set the ' minLength' property on 'HTMLTextAreaElement': The minLength provided (11) is gre ater than the maximum bound (10)..
15 PASS textArea.getAttribute("minlength") is "6"
16 PASS textArea.minLength = 10; textArea.getAttribute("minlength") is "10"
17 PASS textArea.minLength is 0
18 PASS textArea.getAttribute("minlength") is "0"
19 PASS successfullyParsed is true
20
21 TEST COMPLETE
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698