blob: 29497d82de21a0f71c02ef7251eead6a614891eb [file] [log] [blame]
Tests that CSS3 calc() can be used with the font property
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getComputedStyle(document.getElementById("calc-size"), null).lineHeight is "63px"
PASS getComputedStyle(document.getElementById("calc-size"), null).fontSize is "24px"
PASS getComputedStyle(document.getElementById("calc-height"), null).lineHeight is "63px"
PASS getComputedStyle(document.getElementById("calc-height"), null).fontSize is "24px"
PASS getComputedStyle(document.getElementById("calc-both"), null).lineHeight is "63px"
PASS getComputedStyle(document.getElementById("calc-both"), null).fontSize is "24px"
PASS getComputedStyle(document.getElementById("calc-percent-size"), null).lineHeight is "63px"
PASS getComputedStyle(document.getElementById("calc-percent-size"), null).fontSize is "24px"
PASS successfullyParsed is true
TEST COMPLETE