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

Unified 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, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-in-object-model-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-in-object-model-expected.txt b/third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-in-object-model-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8eca5ecc36cdf5a1d4b5e331ab8746a28013cf2b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-in-object-model-expected.txt
@@ -0,0 +1,17 @@
+PASS style.getPropertyValue("--important") is "green"
+PASS style.getPropertyValue("--not-important") is "red"
+PASS style.getPropertyValue("color") is "var(--important)"
+PASS style.getPropertyPriority("--important") is "important"
+PASS style.getPropertyPriority("--not-important") is ""
+PASS style.getPropertyValue("--foo") is "papayawhip"
+PASS style.getPropertyPriority("--foo") is ""
+PASS style.getPropertyPriority("--important-foo") is "important"
+PASS style.getPropertyValue("--important-foo") is ""
+PASS style.removeProperty("--foo") is "papayawhip"
+PASS style.getPropertyValue("--foo") is ""
+PASS computedStyle.setProperty("--error", "") threw exception NoModificationAllowedError: Failed to execute 'setProperty' on 'CSSStyleDeclaration': These styles are computed, and therefore the '--error' property is read-only..
+PASS cssText is "#test2 { --variable: value; }"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698