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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp

Issue 2753193002: Editing: Indent command: Do not insert BLOCKQUOTE under the root HTML element. (Closed)
Patch Set: . Created 3 years, 9 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: third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
index cd06bf1b9df21a2f69961c1c17857b7a5021ba1e..e47e0c910922a21b88c5ed59d647005ba1d7a0d6 100644
--- a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
@@ -49,8 +49,10 @@ TEST_F(ApplyBlockElementCommandTest, selectionCrossingOverBody) {
command->apply();
EXPECT_EQ(
- "<body contenteditable=\"false\">\n"
- "<pre><var id=\"va\" class=\"CLASS13\">\nC\n</var></pre><input></body>",
+ "<head><style> .CLASS13 { -webkit-user-modify: read-write; "
+ "}</style></head>foo<body contenteditable=\"false\">\n<pre><var "
+ "id=\"va\" "
+ "class=\"CLASS13\">\n<footer>C</footer></var></pre><input></body>",
document().documentElement()->innerHTML());
}

Powered by Google App Engine
This is Rietveld 408576698