Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: LayoutTests/editing/execCommand/5685604-1.html

Issue 7973008: Revert 93001 - Apple-style-span class seems unnecessary (Closed) Base URL:
Patch Set: Created 9 years, 3 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/5685604-1.html
--- LayoutTests/editing/execCommand/5685604-1.html (revision 95747)
+++ LayoutTests/editing/execCommand/5685604-1.html (working copy)
@@ -25,7 +25,7 @@
document.execCommand("styleWithCSS", false, true);
document.execCommand("bold", false, "");
-expectedHTML = "The <b>second</b> and last words in this sentence should be <span style=\"font-weight: bold;\">bold</span>.";
+expectedHTML = "The <b>second</b> and last words in this sentence should be <span class=\"Apple-style-span\" style=\"font-weight: bold;\">bold</span>.";
if (div.innerHTML == expectedHTML)
log("Success. A legacy formatting tag was used for styling by default, and execCommand(\"styleWithCSS\", ..., true) activated the use of CSS styling.");

Powered by Google App Engine
This is Rietveld 408576698