Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Issue 23011009: Implement computed style for animation shorthand and align parsing with the spec. (Closed)

Created:
7 years, 4 months ago by darktears
Modified:
7 years, 4 months ago
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), eae+blinkwatch, dglazkov+blink, dstockwell, Timothy Loh, apavlov+blink_chromium.org, Steve Block, dino_apple.com, Eric Willigers
Visibility:
Public.

Description

Implement computed style for animation shorthand and align parsing with the spec. Implement the computed style for the animation shorthand which will avoid to return "". Improve parsing of the shorthand by adding the play-state property part of the parsing. This align with the spec and it was changed at the end of last year. Remove dead code in CSSParser-in.cpp inherited from the transitions. There are few commented tests that are not passing as they do not yet align with the spec. It's a trickier issue that I will fix in a following patch (bug is linked). BUG=272963, 234612 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156170

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : Test modified according to Tab's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+511 lines, -46 lines) Patch
M LayoutTests/animations/animations-parsing.html View 1 2 2 chunks +256 lines, -3 lines 0 comments Download
M LayoutTests/animations/animations-parsing-expected.txt View 1 chunk +170 lines, -0 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 5 chunks +78 lines, -36 lines 0 comments Download
M Source/core/css/CSSParser-in.cpp View 2 chunks +1 line, -5 lines 0 comments Download
M Source/core/css/CSSShorthands.in View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/StylePropertySerializer.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/StylePropertyShorthandCustom.cpp View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
darktears
7 years, 4 months ago (2013-08-14 18:23:27 UTC) #1
esprehn
https://codereview.chromium.org/23011009/diff/1/Source/core/css/CSSComputedStyleDeclaration.cpp File Source/core/css/CSSComputedStyleDeclaration.cpp (right): https://codereview.chromium.org/23011009/diff/1/Source/core/css/CSSComputedStyleDeclaration.cpp#newcode1192 Source/core/css/CSSComputedStyleDeclaration.cpp:1192: static PassRefPtr<CSSValue> getAnimationFillModeValue(unsigned fillMode) These methods are named wrong. ...
7 years, 4 months ago (2013-08-15 18:29:29 UTC) #2
darktears
On 2013/08/15 18:29:29, esprehn wrote: > https://codereview.chromium.org/23011009/diff/1/Source/core/css/CSSComputedStyleDeclaration.cpp > File Source/core/css/CSSComputedStyleDeclaration.cpp (right): > > https://codereview.chromium.org/23011009/diff/1/Source/core/css/CSSComputedStyleDeclaration.cpp#newcode1192 > ...
7 years, 4 months ago (2013-08-15 18:36:17 UTC) #3
darktears
On 2013/08/15 18:36:17, darktears wrote: > On 2013/08/15 18:29:29, esprehn wrote: > > > https://codereview.chromium.org/23011009/diff/1/Source/core/css/CSSComputedStyleDeclaration.cpp ...
7 years, 4 months ago (2013-08-15 18:44:03 UTC) #4
esprehn
LGTM
7 years, 4 months ago (2013-08-15 19:21:51 UTC) #5
darktears
On 2013/08/15 19:21:51, esprehn wrote: > LGTM TabAtkins : Never mind, then. LGTM
7 years, 4 months ago (2013-08-15 20:10:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexis.menard@intel.com/23011009/15001
7 years, 4 months ago (2013-08-15 20:10:37 UTC) #7
commit-bot: I haz the power
7 years, 4 months ago (2013-08-15 21:54:47 UTC) #8
Message was sent while issue was closed.
Change committed as 156170

Powered by Google App Engine
This is Rietveld 408576698