DescriptionParse {animation,transition}-timing-function in CSSPropertyParser with CSSParserTokens
This patch moves the properties animation-timing-function and
transition-timing-function from the LegacyCSSPropertyParser to the
CSSPropertyParser. Some of the logic here is set up as infrastructure
for adding the remaining animation and transition properties. Note
that the logic is still required in the legacy property parser until
the animation and transition shorthands are moved across.
This patch adds a consumeNumberRaw function, which consumes a number
from a CSSParserTokenRange as a double instead of a CSSValue. We may
eventually want to make consumeNumber call into consumeNumberRaw,
but for now I'm leaving these as separate due to potentially subtle
behaviour in calcs and unit type for serialization.
BUG=499780
Committed: https://crrev.com/425c4fdec0debd5dccca66ee9031cb7bebcde865
Cr-Commit-Position: refs/heads/master@{#354983}
Patch Set 1 #
Total comments: 4
Patch Set 2 : address review comments #
Dependent Patchsets: Messages
Total messages: 11 (4 generated)
|