Index: LayoutTests/fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js |
diff --git a/LayoutTests/fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js b/LayoutTests/fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js |
index 0389046c1502248003427942e1e5a1dd98a36964..0058a0ec5bfaa43e9b9fb1cbfdc7b06c2486dfb6 100644 |
--- a/LayoutTests/fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js |
+++ b/LayoutTests/fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js |
@@ -90,4 +90,10 @@ testElementStyle("textDecoration", "text-decoration", "[object CSSValue]", "inhe |
testComputedStyle("textDecoration", "text-decoration", "[object CSSValueList]", "underline"); |
debug(''); |
+debug("Ancestor should not implicitly inherit value from parent (i.e. when value is void):"); |
+e.style.textDecoration = ''; |
+testElementStyle("textDecoration", "text-decoration", null, ''); |
+testComputedStyle("textDecoration", "text-decoration", "[object CSSPrimitiveValue]", "none"); |
+debug(''); |
+ |
document.body.removeChild(testContainer); |