Index: Source/core/css/FontFaceSet.cpp |
diff --git a/Source/core/css/FontFaceSet.cpp b/Source/core/css/FontFaceSet.cpp |
index 6f61116886ce53aa0277e4e6510263de054e691e..3030e7ae7c2e1ff64cc1997be974a462380dccb6 100644 |
--- a/Source/core/css/FontFaceSet.cpp |
+++ b/Source/core/css/FontFaceSet.cpp |
@@ -504,7 +504,7 @@ bool FontFaceSet::resolveFontStyle(const String& fontString, Font& font) |
return false; |
// Interpret fontString in the same way as the 'font' attribute of CanvasRenderingContext2D. |
- RefPtrWillBeRawPtr<MutableStylePropertySet> parsedStyle = MutableStylePropertySet::create(); |
+ RefPtrWillBeRawPtr<MutableStylePropertySet> parsedStyle = MutableStylePropertySet::create(HTMLQuirksMode); |
CSSParser::parseValue(parsedStyle.get(), CSSPropertyFont, fontString, true, HTMLStandardMode, 0); |
if (parsedStyle->isEmpty()) |
return false; |