Index: LayoutTests/editing/execCommand/script-tests/toggle-text-decorations.js |
=================================================================== |
--- LayoutTests/editing/execCommand/script-tests/toggle-text-decorations.js (revision 95747) |
+++ LayoutTests/editing/execCommand/script-tests/toggle-text-decorations.js (working copy) |
@@ -17,12 +17,12 @@ |
} |
} |
-testSingleToggle("underline", "test", "<span style=\"text-decoration: 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("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("underline", "test", "<span class=\"Apple-style-span\" style=\"text-decoration: underline;\">test</span>"); |
+testSingleToggle("underline", "<span class=\"Apple-style-span\" style=\"text-decoration: underline;\">test</span>", "test"); |
+testSingleToggle("underline", "<span class=\"Apple-style-span\" style=\"text-decoration: underline line-through overline;\">test</span>", "<span class=\"Apple-style-span\" style=\"text-decoration: overline line-through;\">test</span>"); |
+testSingleToggle("strikethrough", "test", "<span class=\"Apple-style-span\" style=\"text-decoration: line-through;\">test</span>"); |
+testSingleToggle("strikethrough", "<span class=\"Apple-style-span\" style=\"text-decoration: line-through;\">test</span>", "test"); |
+testSingleToggle("strikethrough", "<span class=\"Apple-style-span\" style=\"text-decoration: underline line-through overline;\">test</span>", "<span class=\"Apple-style-span\" style=\"text-decoration: underline overline;\">test</span>"); |
document.body.removeChild(testContainer); |