1 set value attribute that violates maxlength (with pasted value)
2 PASS domValueOf('f') is '123'
3 PASS visibleValueOf('f') is '123'
4 set value property that violates maxlength (with pasted value)
5 PASS domValueOf('e') is '12345'
6 PASS visibleValueOf('e') is '12345'
7 set maxlength attribute that is smaller than pasted value
8 PASS domValueOf('d') is '12345'
9 PASS visibleValueOf('d') is '12345'
10 set maxLength property that is smaller than pasted value
11 PASS domValueOf('c') is '12345'
12 PASS visibleValueOf('c') is '12345'
13 set value attribute that violates maxlength (with pasted value)
14 PASS domValueOf('j') is '123'
15 PASS visibleValueOf('j') is '123'
16 set value property that violates maxlength (with pasted value)
17 PASS domValueOf('i') is '12' + fancyX + '45'
18 PASS visibleValueOf('i') is '12' + fancyX + '45'
19 set maxlength attribute that is smaller than pasted value
20 PASS domValueOf('h') is '12' + fancyX + '45'
21 PASS visibleValueOf('h') is '12' + fancyX + '45'
22 set maxLength property that is smaller than pasted value
23 PASS domValueOf('g') is '12' + fancyX + '45'
24 PASS visibleValueOf('g') is '12' + fancyX + '45'
26 PASS domValueOf('k-max5') is "12x̲̅"
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"
32 pasting too much text with maxlength=0
33 PASS domValueOf('l') is ''
34 PASS visibleValueOf('l') is ''
35 empty maxlength should be ignored.
36 PASS domValueOf('m') is '12' + fancyX + '45'
37 PASS visibleValueOf('m') is '12' + fancyX + '45'
38 invalid maxlength should be ignored.
39 PASS domValueOf('n') is '12' + fancyX + '45'
40 PASS visibleValueOf('n') is '12' + fancyX + '45'
41 PASS domValueOf('huge') is '12' + fancyX + '45'
42 PASS visibleValueOf('huge') is '12' + fancyX + '45'
43 PASS successfullyParsed is true