Index: third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp |
diff --git a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp |
index 8c444a705c6e1a859179b6c15fe106c45664ca6b..7cf7a0c9e4702c2d73c8051b4b490c68293f5f81 100644 |
--- a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp |
+++ b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp |
@@ -155,6 +155,8 @@ String AbstractPropertySetCSSStyleDeclaration::item(unsigned i) const |
StylePropertySet::PropertyReference property = propertySet().propertyAt(i); |
if (RuntimeEnabledFeatures::cssVariablesEnabled() && property.id() == CSSPropertyVariable) |
return toCSSCustomPropertyDeclaration(property.value())->name(); |
+ if (property.id() == CSSPropertyApplyAtRule) |
+ return "@apply"; |
return getPropertyName(property.id()); |
} |