OLD | NEW |
(Empty) | |
| 1 PASS style.getPropertyValue("--important") is "green" |
| 2 PASS style.getPropertyValue("--not-important") is "red" |
| 3 PASS style.getPropertyValue("color") is "var(--important)" |
| 4 PASS style.getPropertyPriority("--important") is "important" |
| 5 PASS style.getPropertyPriority("--not-important") is "" |
| 6 PASS style.getPropertyValue("--foo") is "papayawhip" |
| 7 PASS style.getPropertyPriority("--foo") is "" |
| 8 PASS style.getPropertyPriority("--important-foo") is "important" |
| 9 PASS style.getPropertyValue("--important-foo") is "" |
| 10 PASS style.removeProperty("--foo") is "papayawhip" |
| 11 PASS style.getPropertyValue("--foo") is "" |
| 12 PASS computedStyle.setProperty("--error", "") threw exception NoModificationAllo
wedError: Failed to execute 'setProperty' on 'CSSStyleDeclaration': These styles
are computed, and therefore the '--error' property is read-only.. |
| 13 PASS cssText is "#test2 { --variable: value; }" |
| 14 PASS successfullyParsed is true |
| 15 |
| 16 TEST COMPLETE |
| 17 |
OLD | NEW |