Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(46)

Issue 1162593006: Fix crash when animating -webkit-{min,max}-content keyword (Closed)

Created:
4 years, 11 months ago by alancutter (OOO until 2018)
Modified:
4 years, 10 months ago
Reviewers:
Timothy Loh, shans
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-css, blink-reviews-style_chromium.org, dglazkov+blink, Eric Willigers, rjwright, rwlbuis
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix crash when animating -webkit-{min,max}-content keyword When animating -webkit-min-content and -webkit-max-content we snapshot AnimatableValues off a ComputedStyle that have these values applied. These are stored via a CSSPrimitiveValue conversion that converts them to unprefixed min-content/max-content values. When these get applied during animation we crash as these values have not been unprefixed yet. This change adds support for applying unprefixed min-content/max-content in StyleBuilder::applyProperty. They are still unsupported by the CSSPropertyParser so this change does not ship the unprefixed values to CSS. BUG=472883 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196933

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
A LayoutTests/animations/min-max-content-crash.html View 1 chunk +22 lines, -0 lines 0 comments Download
M Source/core/css/resolver/StyleBuilderConverter.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
alancutter (OOO until 2018)
4 years, 11 months ago (2015-06-04 07:15:08 UTC) #2
shans
Crashing is bad, but we're also committed to not supporting prefixed property animation through the ...
4 years, 11 months ago (2015-06-04 07:45:21 UTC) #4
alancutter (OOO until 2018)
On 2015/06/04 at 07:45:21, shans wrote: > Crashing is bad, but we're also committed to ...
4 years, 11 months ago (2015-06-04 07:52:25 UTC) #5
shans
On 2015/06/04 07:52:25, alancutter wrote: > On 2015/06/04 at 07:45:21, shans wrote: > > Crashing ...
4 years, 11 months ago (2015-06-04 07:56:16 UTC) #6
Timothy Loh
ok lgtm
4 years, 11 months ago (2015-06-04 08:01:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162593006/1
4 years, 11 months ago (2015-06-04 08:03:49 UTC) #9
alancutter (OOO until 2018)
On 2015/06/04 at 07:56:16, shans wrote: > On 2015/06/04 07:52:25, alancutter wrote: > > On ...
4 years, 11 months ago (2015-06-04 13:17:36 UTC) #11
alancutter (OOO until 2018)
On 2015/06/04 at 13:17:36, alancutter wrote: > On 2015/06/04 at 07:56:16, shans wrote: > > ...
4 years, 11 months ago (2015-06-04 13:25:29 UTC) #12
shans
On 2015/06/04 13:25:29, alancutter wrote: > On 2015/06/04 at 13:17:36, alancutter wrote: > > On ...
4 years, 11 months ago (2015-06-04 20:49:48 UTC) #13
alancutter (OOO until 2018)
On 2015/06/04 at 20:49:48, shans wrote: > On 2015/06/04 13:25:29, alancutter wrote: > > On ...
4 years, 11 months ago (2015-06-04 23:37:00 UTC) #14
alancutter (OOO until 2018)
Discussed this offline with shans and dstockwell. Came to the decision that Web Animations should ...
4 years, 10 months ago (2015-06-11 07:35:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162593006/1
4 years, 10 months ago (2015-06-11 07:36:00 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2015-06-11 09:48:22 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196933

Powered by Google App Engine
This is Rietveld 408576698