Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index 5c88c54ae81208312709032cb2c521cefb9ec113..3e606fcc8b90078a0b87532487b5b32617f5deff 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -2267,7 +2267,9 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseAttr(CSSParserValueList |
if (m_context.isHTMLDocument()) |
attrName = attrName.lower(); |
- return cssValuePool().createValue(attrName, CSSPrimitiveValue::UnitType::Attribute); |
+ RefPtrWillBeRawPtr<CSSFunctionValue> attrValue = CSSFunctionValue::create(CSSValueAttr); |
+ attrValue->append(CSSPrimitiveValue::create(attrName, CSSPrimitiveValue::UnitType::CustomIdentifier)); |
+ return attrValue.release(); |
} |
bool CSSPropertyParser::acceptQuirkyColors(CSSPropertyID propertyId) const |