Index: Source/core/html/HTMLStyleElement.cpp |
diff --git a/Source/core/html/HTMLStyleElement.cpp b/Source/core/html/HTMLStyleElement.cpp |
index 11a3fcd52d46230525b749505a6f95bf4123cc1c..05eadff4961955d2fe970c40729f007a7c57f35a 100644 |
--- a/Source/core/html/HTMLStyleElement.cpp |
+++ b/Source/core/html/HTMLStyleElement.cpp |
@@ -75,7 +75,7 @@ void HTMLStyleElement::parseAttribute(const QualifiedName& name, const AtomicStr |
else if (name == scopedAttr && ContextFeatures::styleScopedEnabled(document())) |
scopedAttributeChanged(!value.isNull()); |
else if (name == mediaAttr && inDocument() && document()->renderer() && m_sheet) { |
- m_sheet->setMediaQueries(MediaQuerySet::createAllowingDescriptionSyntax(value)); |
+ m_sheet->setMediaQueries(MediaQuerySet::create(value)); |
document()->styleResolverChanged(RecalcStyleImmediately); |
} else |
HTMLElement::parseAttribute(name, value); |