Index: third_party/WebKit/LayoutTests/custom-properties/registered-property-initial.html |
diff --git a/third_party/WebKit/LayoutTests/custom-properties/registered-property-initial.html b/third_party/WebKit/LayoutTests/custom-properties/registered-property-initial.html |
index 91dcd4bb614c33479cc374441514f42de8a6ecda..dfc338aa6e26979d15c4e1e73a8c991716bfd5d5 100644 |
--- a/third_party/WebKit/LayoutTests/custom-properties/registered-property-initial.html |
+++ b/third_party/WebKit/LayoutTests/custom-properties/registered-property-initial.html |
@@ -13,6 +13,8 @@ CSS.registerProperty({name: '--length', syntax: '<length>', initialValue: 'calc( |
CSS.registerProperty({name: '--length-percentage', syntax: '<length-percentage>', initialValue: 'calc(1in + 10% + 4px)'}); |
CSS.registerProperty({name: '--inherited-color', syntax: '<color>', initialValue: 'pink', inherits: true}); |
CSS.registerProperty({name: '--non-inherited-color', syntax: '<color>', initialValue: 'purple'}); |
+CSS.registerProperty({name: '--single-transform-list', syntax: '<transform-list>', initialValue: 'scale(calc(2 + 2))'}); |
+CSS.registerProperty({name: '--multiple-transform-list', syntax: '<transform-list>', initialValue: 'scale(calc(2 + 1)) translateX(calc(3px + 1px))'}); |
test(function() { |
computedStyle = getComputedStyle(target); |
@@ -20,6 +22,8 @@ test(function() { |
assert_equals(computedStyle.getPropertyValue('--length-percentage'), 'calc(100px + 10%)'); |
assert_equals(computedStyle.getPropertyValue('--inherited-color'), 'pink'); |
assert_equals(computedStyle.getPropertyValue('--non-inherited-color'), 'purple'); |
+ assert_equals(computedStyle.getPropertyValue('--single-transform-list'), 'scale(4)'); |
+ assert_equals(computedStyle.getPropertyValue('--multiple-transform-list'), 'scale(3) translateX(4px)'); |
assert_equals(computedStyle.backgroundColor, 'rgb(255, 192, 203)'); |
assert_equals(computedStyle.color, 'rgb(128, 0, 128)'); |