blob: 73ac4b934e73adcd677c6d8567838867ed032e52 [file] [log] [blame]
Tests inherit and initial on 'alt' CSS property.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS parentDiv.style['alt'] is ""
PASS window.getComputedStyle(parentDiv).getPropertyValue('alt') is "\"TestAlt\""
PASS testDiv.style['alt'] is ""
testDiv.style['alt'] = 'inherit'
PASS testDiv.style['alt'] is "inherit"
PASS window.getComputedStyle(testDiv).getPropertyValue('alt') is "\"TestAlt\""
testDiv.style['alt'] = 'initial'
PASS testDiv.style['alt'] is "initial"
PASS window.getComputedStyle(testDiv).getPropertyValue('alt') is "\"\""
PASS successfullyParsed is true
TEST COMPLETE