blob: e28459dfbe3da4b9a4dee49961b1a4dcaafd94ac [file] [log] [blame]
Tests that CSS3 calc() can be used for the line-height property
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getComputedStyle(document.getElementById("calc-percent"), null).lineHeight is getComputedStyle(document.getElementById("control"), null).lineHeight
FAIL getComputedStyle(document.getElementById("calc-percent-pixels"), null).lineHeight should be 32px. Was 20px.
PASS successfullyParsed is true
TEST COMPLETE