blob: 62e3a1b295506bda9980e65826a3111260bb5efa [file] [log] [blame]
Tests assigning a calculated value to 'column-width' CSS property.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS testDiv.style['column-width'] is ""
testDiv.style['column-width'] = 'calc(100px * 2)'
PASS testDiv.style['column-width'] is "calc(200px)"
PASS window.getComputedStyle(testDiv).getPropertyValue('column-width') is "200px"
0px is not a valid value
testDiv.style['column-width'] = 'calc(0px * 2)'
PASS testDiv.style['column-width'] is "calc(0px)"
PASS window.getComputedStyle(testDiv).getPropertyValue('column-width') is "0px"
PASS successfullyParsed is true
TEST COMPLETE