1 This tests that the specified height is honored (*) for <input> and <button> elements.
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.
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS successfullyParsed is true
10 PASS document.getElementById('button1').offsetHeight is document.getElementById('button2').offsetHeight
11 PASS document.getElementById('button3').offsetHeight is 40
12 PASS document.getElementById('button4').offsetHeight is 40
13 PASS document.getElementById('button5').offsetHeight is correct for this platform.