Chromium Code Reviews
DescriptionParse animation and transition shorthands in CSSPropertyParser with CSSParserTokens
This patch finishes moving animation and transition properties from the
LegacyCSSPropertyParser to the CSSPropertyParser. Instead of having
separate almost-identical functions for the two shorthands, I've unified
these into a single function.
Similar to parseSingleValue, I've updated parseShorthand to take an
unresolved property instead of a resolved property. This is necessary as
-webkit-animation will accept <string>s for the animation-name component.
This patch also fixes an edge case in parsing the shorthands where we
currently allow shorthand values with leading or trailing commas, for
example "transition: left," and "animation: , 0s".
BUG=499780
Committed: https://crrev.com/eb8b6acea091169e7063d11076ac1ad0c482209f
Cr-Commit-Position: refs/heads/master@{#356816}
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 10
Patch Set 3 : address comments #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 10 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||