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

Issue 38573005: Web Animations CSS: Fix crash when transitioning background or mask properties (Closed)

Created:
7 years, 2 months ago by alancutter (OOO until 2018)
Modified:
7 years, 1 month ago
Reviewers:
dstockwell, Steve Block
CC:
blink-reviews, shans, rjwright, Mike Lawther (Google), zoltan1, eae+blinkwatch, leviw+renderwatch, dstockwell, Timothy Loh, jchaffraix+rendering, darktears, dino_apple.com, Eric Willigers
Visibility:
Public.

Description

Web Animations CSS: Fix crash when transitioning background or mask properties This patch ensures the first layer for background and mask declares that their values are set. This has no visible effect on the way fill layers work, this just ensures an assertion made by the Web Animations engine about fill layer properties is correct. The current animation implementation did not make use of the flags on a fill layer that indicate whether a value was set or not and will be agnostic to this change. In order to implement correct interpolation behaviour[1] for many fill layer properties these flags need to be used. The existing FillLayer implementation was not setting these flags correctly for the initial values, this patch fixes that. [1] http://www.w3.org/TR/css3-transitions/#animtype-repeatable-list Fixes crashing tests: virtual/web-animations-css/transitions/multiple-background-size-transitions.html virtual/web-animations-css/transitions/shorthand-transitions.html BUG=257591 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161438

Patch Set 1 #

Patch Set 2 : Set m_compositeSet #

Patch Set 3 : Rebased #

Patch Set 4 : Rebased #

Patch Set 5 : Removed passing tests from TestExpectations #

Total comments: 2

Patch Set 6 : Renamed parameter #

Patch Set 7 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
A LayoutTests/transitions/background-webkit-mask-crash.html View 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/transitions/background-webkit-mask-crash-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/style/FillLayer.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/style/FillLayer.cpp View 1 2 3 4 5 2 chunks +15 lines, -15 lines 0 comments Download
M Source/core/rendering/style/StyleBackgroundData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/style/StyleRareNonInheritedData.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
alancutter (OOO until 2018)
This patch depends on https://codereview.chromium.org/39353003/ and https://codereview.chromium.org/38573003/ landing first.
7 years, 2 months ago (2013-10-24 06:20:39 UTC) #1
dstockwell
Can you expand on the "assumption made by the Web Animations engine" ? Why doesn't ...
7 years, 2 months ago (2013-10-24 12:42:27 UTC) #2
alancutter (OOO until 2018)
On 2013/10/24 12:42:27, dstockwell wrote: > Can you expand on the "assumption made by the ...
7 years, 2 months ago (2013-10-24 14:16:00 UTC) #3
alancutter (OOO until 2018)
Dependent patches have now landed, updated description s/assumptions/assertions, crashing tests now passing. dstockwell: ptal
7 years, 1 month ago (2013-11-02 01:21:08 UTC) #4
Steve Block
I'm not sure I understand this. It seems odd to add logic just to satisfy ...
7 years, 1 month ago (2013-11-03 10:16:47 UTC) #5
alancutter (OOO until 2018)
On 2013/11/03 10:16:47, Steve Block wrote: > I'm not sure I understand this. It seems ...
7 years, 1 month ago (2013-11-04 00:45:24 UTC) #6
Steve Block
lgtm Thanks for the explanation.
7 years, 1 month ago (2013-11-05 04:20:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/38573005/280001
7 years, 1 month ago (2013-11-05 04:27:48 UTC) #8
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-05 04:27:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/38573005/350001
7 years, 1 month ago (2013-11-06 06:24:39 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=15818
7 years, 1 month ago (2013-11-06 08:52:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/38573005/350001
7 years, 1 month ago (2013-11-06 08:53:43 UTC) #12
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 09:30:17 UTC) #13
Message was sent while issue was closed.
Change committed as 161438

Powered by Google App Engine
This is Rietveld 408576698