OLD | NEW |
| (Empty) |
1 Tests that select elements cap their size to the size attribute and to 4 when no
size is specified. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS clientHeight('select2') is clientHeight('select1') | |
7 PASS getElemById('select2').setAttribute('size', '4'); clientHeight('select2') =
= clientHeight('select1') is true | |
8 PASS getElemById('select2').setAttribute('size', '5'); clientHeight('select2') >
clientHeight('select1') is true | |
9 PASS getElemById('select2').setAttribute('size', '8'); clientHeight('select2') i
s within 1 of 136 | |
10 PASS getElemById('select2').setAttribute('size', '12'); clientHeight('select2')
is within 1 of 204 | |
11 PASS getElemById('select2').setAttribute('size', '16'); clientHeight('select2')
is within 1 of 272 | |
12 PASS successfullyParsed is true | |
13 | |
14 TEST COMPLETE | |
15 | |
OLD | NEW |