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); |