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

Unified Diff: LayoutTests/editing/execCommand/script-tests/toggle-text-decorations.js

Issue 22414006: Revert "Revert "[css3-text] Implement text-decoration property shorthand"" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added missing skipped test to TestExpectations 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-text-decorations.js
diff --git a/LayoutTests/editing/execCommand/script-tests/toggle-text-decorations.js b/LayoutTests/editing/execCommand/script-tests/toggle-text-decorations.js
index a8bb37d26d8e02ca6f33dbce3afeee26cafaab0a..b965a1d89db433864f122dc34dcfc0ea80cb0de9 100644
--- a/LayoutTests/editing/execCommand/script-tests/toggle-text-decorations.js
+++ b/LayoutTests/editing/execCommand/script-tests/toggle-text-decorations.js
@@ -17,12 +17,12 @@ function testSingleToggle(toggleCommand, initialContents, expectedContents)
}
}
-testSingleToggle("underline", "test", "<span style=\"text-decoration: underline;\">test</span>");
+testSingleToggle("underline", "test", "<span style=\"text-decoration-line: underline;\">test</span>");
testSingleToggle("underline", "<span style=\"text-decoration: underline;\">test</span>", "test");
-testSingleToggle("underline", "<span style=\"text-decoration: underline line-through overline;\">test</span>", "<span style=\"text-decoration: overline line-through;\">test</span>");
-testSingleToggle("strikethrough", "test", "<span style=\"text-decoration: line-through;\">test</span>");
+testSingleToggle("underline", "<span style=\"text-decoration: underline line-through overline;\">test</span>", "<span style=\"text-decoration-line: overline line-through;\">test</span>");
+testSingleToggle("strikethrough", "test", "<span style=\"text-decoration-line: line-through;\">test</span>");
testSingleToggle("strikethrough", "<span style=\"text-decoration: line-through;\">test</span>", "test");
-testSingleToggle("strikethrough", "<span style=\"text-decoration: underline line-through overline;\">test</span>", "<span style=\"text-decoration: underline overline;\">test</span>");
+testSingleToggle("strikethrough", "<span style=\"text-decoration: underline line-through overline;\">test</span>", "<span style=\"text-decoration-line: underline overline;\">test</span>");
document.body.removeChild(testContainer);

Powered by Google App Engine
This is Rietveld 408576698