Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-line.js

Issue 20751008: Text decorations should be listed as non-inheritable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed typo in getComputedStyle-text-decoration.js Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698