| Index: Source/core/dom/ContextFeatures.cpp
|
| diff --git a/Source/core/dom/ContextFeatures.cpp b/Source/core/dom/ContextFeatures.cpp
|
| index 13bab24cd1914f38a7cb956dc746869a390eae6a..d8bb0393998df7659cb50e345db470333ed338c2 100644
|
| --- a/Source/core/dom/ContextFeatures.cpp
|
| +++ b/Source/core/dom/ContextFeatures.cpp
|
| @@ -60,6 +60,13 @@
|
| return document->contextFeatures().isEnabled(document, DialogElement, RuntimeEnabledFeatures::dialogElementEnabled());
|
| }
|
|
|
| +bool ContextFeatures::styleScopedEnabled(Document* document)
|
| +{
|
| + if (!document)
|
| + return RuntimeEnabledFeatures::styleScopedEnabled();
|
| + return document->contextFeatures().isEnabled(document, StyleScoped, RuntimeEnabledFeatures::styleScopedEnabled());
|
| +}
|
| +
|
| bool ContextFeatures::pagePopupEnabled(Document* document)
|
| {
|
| if (!document)
|
|
|