Index: third_party/WebKit/LayoutTests/custom-properties/registered-property-cssom.html |
diff --git a/third_party/WebKit/LayoutTests/custom-properties/registered-property-cssom.html b/third_party/WebKit/LayoutTests/custom-properties/registered-property-cssom.html |
index 811846505c1585944be0e241ae841a15e4cc0d04..c704405cfeac6cc903ebcb12049d8004215d9f98 100644 |
--- a/third_party/WebKit/LayoutTests/custom-properties/registered-property-cssom.html |
+++ b/third_party/WebKit/LayoutTests/custom-properties/registered-property-cssom.html |
@@ -8,11 +8,14 @@ |
--color: red; |
} |
#outer { |
+ --length: 77px; |
--color: blue; |
} |
</style> |
-<div id=inner></div> |
+<div id=outer> |
+ <div id=inner></div> |
+</div> |
<script> |
var computedStyle = getComputedStyle(inner); |
@@ -40,7 +43,7 @@ test(function() { |
assert_equals(inlineStyle.getPropertyValue('--length'), '5'); |
assert_equals(inlineStyle.getPropertyValue('--color'), 'hello'); |
assert_equals(computedStyle.getPropertyValue('--length'), '0px'); |
- assert_equals(computedStyle.getPropertyValue('--color'), 'white'); |
+ assert_equals(computedStyle.getPropertyValue('--color'), 'blue'); |
}, "Formerly valid values are still readable from inline styles but are computed as the unset value"); |
test(function() { |