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

Issue 55813002: Convert animation and renderer code to know about BorderImageLength (Closed)

Created:
7 years, 1 month ago by davve
Modified:
7 years, 1 month ago
CC:
blink-reviews, rjwright, Mike Lawther (Google), zoltan1, eae+blinkwatch, dglazkov+blink, leviw+renderwatch, dstockwell, Timothy Loh, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, bemjb+rendering_chromium.org, dino_apple.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@length-relative-die-step-1-4
Visibility:
Public.

Description

Convert animation and renderer code to know about BorderImageLength This propagates BorderImageLengthBox further out in the code, but actually converts it to an actual number or length as soon as possible in the animation code, and animates it as the individual type. Now we can also remove the compatibility conversion methods between BorderImageLengthBox and LengthBox. Also, update a couple of "Weird number of spaces at line-start" indentations in CSSPropertyAnimation.cpp to not make the new code inconsistent with the old wrt. indentation. BUG=259107 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161715

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebased on top of patch set #2 of https://codereview.chromium.org/55783002/ #

Total comments: 5

Patch Set 3 : Rebased on top of patch set #5 of https://codereview.chromium.org/55783002/ and review issues fixed. #

Patch Set 4 : Rebased to latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -46 lines) Patch
M Source/core/animation/css/CSSAnimatableValueFactory.cpp View 1 2 3 3 chunks +20 lines, -4 lines 0 comments Download
M Source/core/css/resolver/AnimatedStyleBuilder.cpp View 1 2 3 6 chunks +26 lines, -4 lines 0 comments Download
M Source/core/frame/animation/CSSPropertyAnimation.cpp View 1 2 3 2 chunks +27 lines, -3 lines 0 comments Download
M Source/core/rendering/style/BorderImageLength.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/rendering/style/BorderImageLengthBox.h View 1 2 3 chunks +6 lines, -14 lines 0 comments Download
M Source/core/rendering/style/NinePieceImage.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 2 3 4 chunks +10 lines, -10 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
davve
7 years, 1 month ago (2013-11-01 14:20:52 UTC) #1
Julien - ping for review
Gave a quick look at the change. I think the transition should be covered by ...
7 years, 1 month ago (2013-11-02 00:00:03 UTC) #2
alancutter (OOO until 2018)
> One thing to note is that AnimatableLengthBox will animate boxes of > numbers too, ...
7 years, 1 month ago (2013-11-02 00:36:01 UTC) #3
davve
On 2013/11/02 00:36:01, alancutter wrote: > > One thing to note is that AnimatableLengthBox will ...
7 years, 1 month ago (2013-11-02 13:32:25 UTC) #4
davve
On 2013/11/02 13:32:25, David Vest wrote: > It already does, but disguised as "relative" lengths. ...
7 years, 1 month ago (2013-11-03 13:38:42 UTC) #5
shans
https://codereview.chromium.org/55813002/diff/1/Source/core/frame/animation/CSSPropertyAnimation.cpp File Source/core/frame/animation/CSSPropertyAnimation.cpp (right): https://codereview.chromium.org/55813002/diff/1/Source/core/frame/animation/CSSPropertyAnimation.cpp#newcode82 Source/core/frame/animation/CSSPropertyAnimation.cpp:82: return to; On 2013/11/02 00:00:03, Julien Chaffraix - PST ...
7 years, 1 month ago (2013-11-03 23:59:42 UTC) #6
shans
On 2013/11/03 23:59:42, shans wrote: > https://codereview.chromium.org/55813002/diff/1/Source/core/frame/animation/CSSPropertyAnimation.cpp > File Source/core/frame/animation/CSSPropertyAnimation.cpp (right): > > https://codereview.chromium.org/55813002/diff/1/Source/core/frame/animation/CSSPropertyAnimation.cpp#newcode82 > ...
7 years, 1 month ago (2013-11-04 00:09:55 UTC) #7
davve
https://codereview.chromium.org/55813002/diff/1/Source/core/frame/animation/CSSPropertyAnimation.cpp File Source/core/frame/animation/CSSPropertyAnimation.cpp (right): https://codereview.chromium.org/55813002/diff/1/Source/core/frame/animation/CSSPropertyAnimation.cpp#newcode82 Source/core/frame/animation/CSSPropertyAnimation.cpp:82: return to; On 2013/11/02 00:00:03, Julien Chaffraix - PST ...
7 years, 1 month ago (2013-11-04 15:02:27 UTC) #8
davve
On 2013/11/02 00:00:03, Julien Chaffraix - PST wrote: > Gave a quick look at the ...
7 years, 1 month ago (2013-11-04 17:18:42 UTC) #9
Julien - ping for review
lgtm https://codereview.chromium.org/55813002/diff/1/Source/core/frame/animation/CSSPropertyAnimation.cpp File Source/core/frame/animation/CSSPropertyAnimation.cpp (right): https://codereview.chromium.org/55813002/diff/1/Source/core/frame/animation/CSSPropertyAnimation.cpp#newcode82 Source/core/frame/animation/CSSPropertyAnimation.cpp:82: return to; On 2013/11/04 15:02:28, David Vest wrote: ...
7 years, 1 month ago (2013-11-04 18:15:53 UTC) #10
Steve Block
> The animation and interpolation is covered by > LayoutTests/animations/interpolation/{border-image,webkit-mask-box-image}* > tests. At least the ...
7 years, 1 month ago (2013-11-05 03:16:12 UTC) #11
davve
On 2013/11/05 03:16:12, Steve Block wrote: > > The animation and interpolation is covered by ...
7 years, 1 month ago (2013-11-07 13:12:59 UTC) #12
davve
https://codereview.chromium.org/55813002/diff/100001/Source/core/frame/animation/CSSPropertyAnimation.cpp File Source/core/frame/animation/CSSPropertyAnimation.cpp (right): https://codereview.chromium.org/55813002/diff/100001/Source/core/frame/animation/CSSPropertyAnimation.cpp#newcode82 Source/core/frame/animation/CSSPropertyAnimation.cpp:82: return to; On 2013/11/04 18:15:54, Julien Chaffraix - PST ...
7 years, 1 month ago (2013-11-07 13:18:45 UTC) #13
Steve Block
OK, got it. For the short term, I'll add some testing that uses integer numbers.
7 years, 1 month ago (2013-11-07 22:48:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/55813002/290001
7 years, 1 month ago (2013-11-11 05:20:55 UTC) #15
commit-bot: I haz the power
Change committed as 161715
7 years, 1 month ago (2013-11-11 10:33:11 UTC) #16
Steve Block
I added some additional changes in https://codereview.chromium.org/54123007 It looks like http://crbug.com/304000 can be closed now?
7 years, 1 month ago (2013-11-14 03:21:47 UTC) #17
Steve Block
7 years, 1 month ago (2013-11-14 03:22:20 UTC) #18
Message was sent while issue was closed.
> I added some additional changes in https://codereview.chromium.org/54123007
s/changes/tests

Powered by Google App Engine
This is Rietveld 408576698