Index: Source/core/editing/commands/ApplyStyleCommand.cpp |
diff --git a/Source/core/editing/commands/ApplyStyleCommand.cpp b/Source/core/editing/commands/ApplyStyleCommand.cpp |
index 34899befa52be2acfeaae027a3723e74c44c62a4..9bce44e0db22be8e58cc07c3123088bd33883663 100644 |
--- a/Source/core/editing/commands/ApplyStyleCommand.cpp |
+++ b/Source/core/editing/commands/ApplyStyleCommand.cpp |
@@ -304,7 +304,7 @@ void ApplyStyleCommand::applyBlockStyle(EditingStyle *style) |
static PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyStyleOrCreateEmpty(const StylePropertySet* style) |
{ |
if (!style) |
- return MutableStylePropertySet::create(); |
+ return MutableStylePropertySet::create(HTMLQuirksMode); |
return style->mutableCopy(); |
} |