blob: cdf7b00f20005988f5f1351cc5c3041f84f0cee5 [file] [log] [blame]
Test the 'line-height' property interaction with '-webkit-text-size-adjust'.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Case without text size adjust.
PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is "normal"
PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('font-size') is "20px"
testDivNoAdjust.style['line-height'] = '1.6'
PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is "32px"
testDivNoAdjust.style['line-height'] = '80%'
PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is "16px"
testDivNoAdjust.style['line-height'] = '12px'
PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is "12px"
Case with text size adjust.
Platform does not support -webkit-text-size-adjust
PASS successfullyParsed is true
TEST COMPLETE
Test
Test