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