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

Side by Side Diff: LayoutTests/fast/forms/input-text-paste-maxlength-expected.txt

Issue 22590003: input/textarea: Count value length with the standard way. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comment in a test Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 set value attribute that violates maxlength (with pasted value) 1 set value attribute that violates maxlength (with pasted value)
2 PASS domValueOf('f') is '123' 2 PASS domValueOf('f') is '123'
3 PASS visibleValueOf('f') is '123' 3 PASS visibleValueOf('f') is '123'
4 set value property that violates maxlength (with pasted value) 4 set value property that violates maxlength (with pasted value)
5 PASS domValueOf('e') is '12345' 5 PASS domValueOf('e') is '12345'
6 PASS visibleValueOf('e') is '12345' 6 PASS visibleValueOf('e') is '12345'
7 set maxlength attribute that is smaller than pasted value 7 set maxlength attribute that is smaller than pasted value
8 PASS domValueOf('d') is '12345' 8 PASS domValueOf('d') is '12345'
9 PASS visibleValueOf('d') is '12345' 9 PASS visibleValueOf('d') is '12345'
10 set maxLength property that is smaller than pasted value 10 set maxLength property that is smaller than pasted value
11 PASS domValueOf('c') is '12345' 11 PASS domValueOf('c') is '12345'
12 PASS visibleValueOf('c') is '12345' 12 PASS visibleValueOf('c') is '12345'
13 set value attribute that violates maxlength (with pasted value) 13 set value attribute that violates maxlength (with pasted value)
14 PASS domValueOf('j') is '123' 14 PASS domValueOf('j') is '123'
15 PASS visibleValueOf('j') is '123' 15 PASS visibleValueOf('j') is '123'
16 set value property that violates maxlength (with pasted value) 16 set value property that violates maxlength (with pasted value)
17 PASS domValueOf('i') is '12' + fancyX + '45' 17 PASS domValueOf('i') is '12' + fancyX + '45'
18 PASS visibleValueOf('i') is '12' + fancyX + '45' 18 PASS visibleValueOf('i') is '12' + fancyX + '45'
19 set maxlength attribute that is smaller than pasted value 19 set maxlength attribute that is smaller than pasted value
20 PASS domValueOf('h') is '12' + fancyX + '45' 20 PASS domValueOf('h') is '12' + fancyX + '45'
21 PASS visibleValueOf('h') is '12' + fancyX + '45' 21 PASS visibleValueOf('h') is '12' + fancyX + '45'
22 set maxLength property that is smaller than pasted value 22 set maxLength property that is smaller than pasted value
23 PASS domValueOf('g') is '12' + fancyX + '45' 23 PASS domValueOf('g') is '12' + fancyX + '45'
24 PASS visibleValueOf('g') is '12' + fancyX + '45' 24 PASS visibleValueOf('g') is '12' + fancyX + '45'
25 pasting too much text 25 pasting too much text
26 PASS domValueOf('k') is '12' + fancyX + '4' 26 PASS domValueOf('k-max5') is "12x̲̅"
27 PASS visibleValueOf('k') is '12' + fancyX + '4' 27 PASS visibleValueOf('k-max5') is "12x̲̅"
28 PASS domValueOf('k-max5') is "123𐀀"
29 PASS visibleValueOf('k-max5') is "123𐀀"
30 PASS domValueOf('k-max5') is "1234"
31 PASS visibleValueOf('k-max5') is "1234"
28 pasting too much text with maxlength=0 32 pasting too much text with maxlength=0
29 PASS domValueOf('l') is '' 33 PASS domValueOf('l') is ''
30 PASS visibleValueOf('l') is '' 34 PASS visibleValueOf('l') is ''
31 empty maxlength should be ignored. 35 empty maxlength should be ignored.
32 PASS domValueOf('m') is '12' + fancyX + '45' 36 PASS domValueOf('m') is '12' + fancyX + '45'
33 PASS visibleValueOf('m') is '12' + fancyX + '45' 37 PASS visibleValueOf('m') is '12' + fancyX + '45'
34 invalid maxlength should be ignored. 38 invalid maxlength should be ignored.
35 PASS domValueOf('n') is '12' + fancyX + '45' 39 PASS domValueOf('n') is '12' + fancyX + '45'
36 PASS visibleValueOf('n') is '12' + fancyX + '45' 40 PASS visibleValueOf('n') is '12' + fancyX + '45'
37 PASS domValueOf('huge') is '12' + fancyX + '45' 41 PASS domValueOf('huge') is '12' + fancyX + '45'
38 PASS visibleValueOf('huge') is '12' + fancyX + '45' 42 PASS visibleValueOf('huge') is '12' + fancyX + '45'
39 PASS successfullyParsed is true 43 PASS successfullyParsed is true
40 44
41 TEST COMPLETE 45 TEST COMPLETE
42 46
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/input-text-paste-maxlength.html ('k') | LayoutTests/fast/forms/textarea-maxlength.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698