blob: a4d252c42763f817b601046e9aed5dd104887e75 [file] [log] [blame]
Tests assigning a calculated value to -webkit-line-clamp CSS property.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS testDiv.style['-webkit-line-clamp'] is ""
testDiv.style['-webkit-line-clamp'] = 'calc(10% * 2)'
PASS testDiv.style['-webkit-line-clamp'] is "calc(20%)"
PASS window.getComputedStyle(testDiv).getPropertyValue('-webkit-line-clamp') is "20%"
testDiv.style['-webkit-line-clamp'] = 'calc(2 * 3)'
PASS testDiv.style['-webkit-line-clamp'] is "6"
PASS window.getComputedStyle(testDiv).getPropertyValue('-webkit-line-clamp') is "6"
PASS successfullyParsed is true
TEST COMPLETE