OLD | NEW |
1 This tests that the specified height is honored (*) for <input> and <button> ele
ments. | 1 This tests that the specified height is honored (*) for <input> and <button> ele
ments. |
2 (*) The Mac ports ignore the specified height for <input type="button"> elements
unless a border and/or background CSS property is also specified (see the fifth
button below). Disregarding padding, they render the button with a height equal
to the height of the font used for the button label. | 2 (*) The Mac ports ignore the specified height for <input type="button"> elements
unless a border and/or background CSS property is also specified (see the fifth
button below). Disregarding padding, they render the button with a height equal
to the height of the font used for the button label. |
3 | 3 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 5 |
6 | 6 |
| 7 PASS successfullyParsed is true |
| 8 |
| 9 TEST COMPLETE |
7 PASS document.getElementById('button1').offsetHeight is document.getElementById(
'button2').offsetHeight | 10 PASS document.getElementById('button1').offsetHeight is document.getElementById(
'button2').offsetHeight |
8 PASS document.getElementById('button3').offsetHeight is 40 | 11 PASS document.getElementById('button3').offsetHeight is 40 |
9 PASS document.getElementById('button4').offsetHeight is 40 | 12 PASS document.getElementById('button4').offsetHeight is 40 |
10 PASS document.getElementById('button5').offsetHeight is correct for this platfor
m. | 13 PASS document.getElementById('button5').offsetHeight is correct for this platfor
m. |
11 | 14 |
12 TEST COMPLETE | 15 TEST COMPLETE |
13 PASS successfullyParsed is true | |
14 | 16 |
15 TEST COMPLETE | |
16 | |
OLD | NEW |