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

Unified Diff: LayoutTests/editing/execCommand/script-tests/toggle-style-2.js

Issue 23111004: Re-land "[css3-text] Implement text-decoration property shorthand" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased after Alexis' function name changes in CSSComputedStyleDeclaration.cpp 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/editing/execCommand/script-tests/toggle-style-2.js
diff --git a/LayoutTests/editing/execCommand/script-tests/toggle-style-2.js b/LayoutTests/editing/execCommand/script-tests/toggle-style-2.js
index 1f6deed64dcfc72a017b70ae6ca7f843307bae47..e83827a0e8d0e610f9d7733442bce83ae5866980 100644
--- a/LayoutTests/editing/execCommand/script-tests/toggle-style-2.js
+++ b/LayoutTests/editing/execCommand/script-tests/toggle-style-2.js
@@ -39,8 +39,8 @@ testDoubleToggle("strikethrough", "test", "test");
testSingleToggle("strikethrough", "<u>test</u>", "<u><strike>test</strike></u>");
testSingleToggle("underline", "<strike>test</strike>", "<u><strike>test</strike></u>");
-testSingleToggle("strikethrough", '<span style="text-decoration: overline;">test</span>', '<span style="text-decoration: overline;"><strike>test</strike></span>');
-testSingleToggle("underline", '<span style="text-decoration: overline;">test</span>', '<span style="text-decoration: overline;"><u>test</u></span>');
+testSingleToggle("strikethrough", '<span style="text-decoration: overline;">test</span>', '<span style="text-decoration-line: overline;"><strike>test</strike></span>');
+testSingleToggle("underline", '<span style="text-decoration: overline;">test</span>', '<span style="text-decoration-line: overline;"><u>test</u></span>');
document.body.removeChild(testContainer);

Powered by Google App Engine
This is Rietveld 408576698