diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/parser/at_rule_counter_style_descriptor_parser.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/css/parser/at_rule_counter_style_descriptor_parser.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/parser/at_rule_counter_style_descriptor_parser.cc b/chromium/third_party/blink/renderer/core/css/parser/at_rule_counter_style_descriptor_parser.cc index 00028f6e730..f0fc37c995b 100644 --- a/chromium/third_party/blink/renderer/core/css/parser/at_rule_counter_style_descriptor_parser.cc +++ b/chromium/third_party/blink/renderer/core/css/parser/at_rule_counter_style_descriptor_parser.cc @@ -221,10 +221,11 @@ CSSValue* ConsumeCounterStyleAdditiveSymbols(CSSParserTokenRange& range, CSSValue* ConsumeCounterStyleSpeakAs(CSSParserTokenRange& range, const CSSParserContext& context) { - // Syntax: auto | bullets | numbers | words | spell-out | <counter-style-name> + // Syntax: auto | bullets | numbers | words | <counter-style-name> + // We don't support spell-out now. if (CSSValue* ident = css_parsing_utils::ConsumeIdent< CSSValueID::kAuto, CSSValueID::kBullets, CSSValueID::kNumbers, - CSSValueID::kWords, CSSValueID::kSpellOut>(range)) + CSSValueID::kWords>(range)) return ident; if (CSSValue* name = css_parsing_utils::ConsumeCounterStyleName(range, context)) @@ -238,8 +239,6 @@ CSSValue* AtRuleDescriptorParser::ParseAtCounterStyleDescriptor( AtRuleDescriptorID id, CSSParserTokenRange& range, const CSSParserContext& context) { - DCHECK(RuntimeEnabledFeatures::CSSAtRuleCounterStyleEnabled()); - CSSValue* parsed_value = nullptr; switch (id) { case AtRuleDescriptorID::System: |