Chromium Code Reviews
DescriptionFix CSSParserToken::operator== for NumberTokens
This patch fixes equality for CSSParserToken to not compare the
dimension values when comparing NumberTokens. These are only valid
for DimensionTokens. We also now compare whether tokens were specified
with a sign (+/-/nothing) for dimensions and percentages.
Since the operator== function is fairly large, it is also moved from
the header file to the .cpp file.
BUG=590801
Committed: https://crrev.com/b59bf7c191bc204ceb046c2743246ff45a8798f6
Cr-Commit-Position: refs/heads/master@{#390593}
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||||||||||||||||||||