Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-in-object-model-expected.txt

Issue 1405293012: [Variables] Enable get/setProperty and similar APIs from the CSSOM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use static_assert. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698