Index: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
index 47ff6f38c8a31c597bc1634013a79dec4639d813..23111d3148139f0f1b2821922fe13c32ead2e78b 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
@@ -785,7 +785,6 @@ static void removeHeadContents(ReplacementFragment& fragment) |
if (isHTMLBaseElement(*node) |
|| isHTMLLinkElement(*node) |
|| isHTMLMetaElement(*node) |
- || isHTMLStyleElement(*node) |
|| isHTMLTitleElement(*node)) { |
next = NodeTraversal::nextSkippingChildren(*node); |
fragment.removeNode(node); |