diff --git a/third_party/blink/renderer/core/css/resolver/style_cascade.cc b/third_party/blink/renderer/core/css/resolver/style_cascade.cc index 4f21c67ac493f..065e3b521f3fe 100644 --- a/third_party/blink/renderer/core/css/resolver/style_cascade.cc +++ b/third_party/blink/renderer/core/css/resolver/style_cascade.cc @@ -1443,7 +1443,8 @@ const CSSValue* StyleCascade::ResolvePendingSubstitution( // NOTE: We don't actually need the original text to be comment-stripped, // since we're not storing it in a custom property anywhere. - CSSParserTokenStream stream2(sequence.OriginalText()); + CSSParserTokenStream stream2(sequence.OriginalText(), + sequence.GetAttrTaintedRanges()); if (!CSSPropertyParser::ParseValue( shorthand_property_id, /*allow_important_annotation=*/false, stream2, shorthand_value->ParserContext(), parsed_properties,