Index: third_party/WebKit/LayoutTests/imported/gecko/variables/variable-declaration-40.html |
diff --git a/third_party/WebKit/LayoutTests/imported/gecko/variables/variable-declaration-40.html b/third_party/WebKit/LayoutTests/imported/gecko/variables/variable-declaration-40.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..62a4e21700f46d277634dd033d5dc2157d71f088 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/gecko/variables/variable-declaration-40.html |
@@ -0,0 +1,21 @@ |
+<!-- |
+ Any copyright is dedicated to the Public Domain. |
+ http://creativecommons.org/publicdomain/zero/1.0/ |
+--> |
+<!DOCTYPE html> |
+<title>CSS Test: Test declaring a variable with an invalid custom property name due to it beginning with "VAR-".</title> |
+<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> |
+<link rel="help" href="http://www.w3.org/TR/css-variables-1/#defining-variables"> |
+<link rel="match" href="support/color-green-ref.html"> |
+<style> |
+p { |
+ color: red; |
+} |
+p { |
+ color: orange; |
+ --a: green; |
+ VAR-a: crimson; |
+ color: var(--a); |
+} |
+</style> |
+<p>This text must be green.</p> |