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