blob: 9bc13520c20ae75b441aadbe23bee0defb218ae7 [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