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