 Chromium Code Reviews
 Chromium Code Reviews Issue 
            1636453002:
    Use ASCII case-insensitive matching for ident-likes in the CSS parser  (Closed)
    
  
    Issue 
            1636453002:
    Use ASCII case-insensitive matching for ident-likes in the CSS parser  (Closed) 
  | DescriptionUse ASCII case-insensitive matching for ident-likes in the CSS parser
This CL replaces CSSParserToken::valueEqualsIgnoringCase and
CSSParserString::equalIgnoringCase with valueEqualsIgnoringASCIICase
and equalIgnoringASCIICase respectively - calling the similarly named
function in WTF.
Some cases where CSSParserToken::value() was coerced to a String is
changed to avoid the coercion - using the CSSParserToken method
directly.
Similarly some cases that use the CSSParserString overload for
equalIgnoringCase is changed to use the method on CSSParserToken.
The dead equalIgnoringCase(const CSSParserString&, ...) function in
LegacyCSSPropertyParser.cpp is removed.
BUG=581001
Committed: https://crrev.com/b03ed6724b0805b5c1092167b2cfdf581e700545
Cr-Commit-Position: refs/heads/master@{#371500}
   Patch Set 1 #
      Total comments: 2
      
     Patch Set 2 : Consistent indentation in test. #Messages
    Total messages: 10 (4 generated)
     |