Index: third_party/WebKit/LayoutTests/fast/css/variables/computed-style.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/variables/computed-style.html b/third_party/WebKit/LayoutTests/fast/css/variables/computed-style.html |
index da64b01340e95a8671c29baaf06b5645bc1c8f18..f2ace3b35304c6dee3d4390faba6953383f8a91b 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/variables/computed-style.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/variables/computed-style.html |
@@ -5,6 +5,8 @@ |
<style> |
#color { |
--color-value: blue; |
+ --accordionColor:#0000ee; |
+ --foo:#1\.; |
background-color: var(--color-value); |
} |
@@ -42,6 +44,11 @@ test(function() { |
}, 'background-color property, color value'); |
test(function() { |
+ assert_equals(getComputedStyle(color).getPropertyValue('--accordionColor'), '#0000ee'); |
+ assert_equals(getComputedStyle(color).getPropertyValue('--foo'), '#1\\.'); |
+}, 'property value, accordionColor, foo'); |
+ |
+test(function() { |
assert_equals(getComputedStyle(float_pixel).borderWidth, '0px'); |
}, 'border-width property, border-style = none'); |