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

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

Issue 656683005: Use parseHTMLInteger for parsing minlength and maxlength in <textarea> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add layout tests that check for leading non-ASCII whitespaces in min/maxlength attribute 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
1 Tests for HTMLTextAreaElement.minLength behaviors. 1 Tests for HTMLTextAreaElement.minLength behaviors.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS textArea.minLength is -1 6 PASS textArea.minLength is -1
7 PASS textArea.minLength is -1 7 PASS textArea.minLength is -1
8 PASS textArea.minLength is -1 8 PASS textArea.minLength is -1
9 PASS textArea.minLength is 1 9 PASS textArea.minLength is 1
10 PASS textArea.minLength is -1
11 PASS textArea.minLength is -1
12 PASS textArea.minLength is 1
10 PASS textArea.minLength is 256 13 PASS textArea.minLength is 256
11 PASS textArea.getAttribute("minlength") is "6" 14 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.. 15 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" 16 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).. 17 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" 18 PASS textArea.getAttribute("minlength") is "6"
16 PASS textArea.minLength = 10; textArea.getAttribute("minlength") is "10" 19 PASS textArea.minLength = 10; textArea.getAttribute("minlength") is "10"
17 PASS textArea.minLength is 0 20 PASS textArea.minLength is 0
18 PASS textArea.getAttribute("minlength") is "0" 21 PASS textArea.getAttribute("minlength") is "0"
19 PASS successfullyParsed is true 22 PASS successfullyParsed is true
20 23
21 TEST COMPLETE 24 TEST COMPLETE
22 25
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/textarea-minlength.html ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698