Chromium Code Reviews
DescriptionMove remaining animation and transition longhands to CSSPropertyParser
This patch moves parsing for the following properties from the legacy
property parser to the new one based around CSSParserTokens:
animation-direction
animation-fill-mode
animation-iteration-count
animation-play-state
transition-property
Since transition-property has a special value of 'none', which is only
allowed by itself, I've added a isValidAnimationPropertyList function
which checks this. The check for whether we're actually parsing
transition-property is inside this function because I think it makes
the shorthand code (in a subsequent patch) slightly cleaner.
BUG=499780
Committed: https://crrev.com/9cceab3556c26210436911e806f6abd5aff4ee30
Cr-Commit-Position: refs/heads/master@{#355032}
Patch Set 1 #Patch Set 2 : #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 11 (5 generated)
|
||||||||||||||||||||||||||||