blob: adaf0d91b045839933b5681c62d133baaf5db6cc [file] [log] [blame]
Test that CSSStyleDeclaration.setProperty() can unset the 'important' flag
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
div.style.setProperty('color', 'red', 'important')
PASS div.style.getPropertyValue('color') is "red"
PASS div.style.getPropertyPriority('color') is "important"
div.style.setProperty('color', 'green', null)
PASS div.style.getPropertyValue('color') is "green"
PASS div.style.getPropertyPriority('color') is ""
PASS successfullyParsed is true
TEST COMPLETE