| Index: third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style.html b/third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style.html
|
| index d36c85f3ef2a2fb04d1d110c3d7d5e6da96a4e54..fd276a23a34da15cac1a01f654351bf337936212 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style.html
|
| @@ -21,15 +21,16 @@
|
| test(function() {
|
| assert_equals(getComputedStyle(container).getPropertyValue("--a"), " green");
|
| assert_equals(getComputedStyle(a).getPropertyValue("--a"), " green");
|
| - assert_equals(a.style.getPropertyValue("--a"), " inherit");
|
| + assert_equals(a.style.getPropertyValue("--a"), "inherit");
|
| + assert_equals(a.style.cssText, "--a: inherit;");
|
| }, 'The special inherit value can be read from inline style.');
|
|
|
| test(function() {
|
| a.style.setProperty("--a", "inherit");
|
| - assert_equals(a.style.getPropertyValue("--a"), " inherit");
|
| + assert_equals(a.style.getPropertyValue("--a"), "inherit");
|
| }, 'The special inherit value can be read after setting.')
|
|
|
| test(function() {
|
| - assert_equals(document.styleSheets[0].rules[1].style.getPropertyValue("--a"), " inherit");
|
| + assert_equals(document.styleSheets[0].rules[1].style.getPropertyValue("--a"), "inherit");
|
| }, 'The special inherit value can be read from a declared rule.')
|
| </script>
|
|
|