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

Issue 54123007: Web Animations CSS: Fix clamping to non-negative values for BorderImageLength (Closed)

Created:
7 years, 1 month ago by Steve Block
Modified:
7 years, 1 month ago
CC:
blink-reviews, shans, rjwright, Mike Lawther (Google), dstockwell, darktears, dino_apple.com, Eric Willigers, Timothy Loh
Visibility:
Public.

Description

Web Animations CSS: Fix clamping to non-negative values for BorderImageLength Also beef up a number of tests that use this code BUG=257591 R=alancutter@chromium.org, alancutter Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161971

Patch Set 1 #

Patch Set 2 : Rebased after addition of BorderImageLengthBox #

Total comments: 7

Patch Set 3 : Fix bug with clampTo() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -20 lines) Patch
M LayoutTests/animations/interpolation/border-image-outset-interpolation.html View 1 1 chunk +20 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-image-outset-interpolation-expected.txt View 1 1 chunk +14 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-image-width-interpolation.html View 1 2 1 chunk +125 lines, -8 lines 0 comments Download
M LayoutTests/animations/interpolation/border-image-width-interpolation-expected.txt View 1 1 chunk +60 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-box-image-outset-interpolation.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-box-image-outset-interpolation-expected.txt View 1 1 chunk +6 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-box-image-width-interpolation.html View 1 1 chunk +14 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-box-image-width-interpolation-expected.txt View 1 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-width-interpolation-expected.txt View 1 1 chunk +60 lines, -0 lines 0 comments Download
M LayoutTests/virtual/web-animations-css/animations/interpolation/webkit-mask-box-image-outset-interpolation-expected.txt View 1 1 chunk +6 lines, -0 lines 0 comments Download
M LayoutTests/virtual/web-animations-css/animations/interpolation/webkit-mask-box-image-width-interpolation-expected.txt View 1 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/css/resolver/AnimatedStyleBuilder.cpp View 1 2 6 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Steve Block
Note that this depends on https://codereview.chromium.org/54293006
7 years, 1 month ago (2013-11-01 02:25:38 UTC) #1
alancutter (OOO until 2018)
Adding Relative to AnimatableLength may not be the right way to go about this. As ...
7 years, 1 month ago (2013-11-02 00:58:01 UTC) #2
Timothy Loh
We don't actually need to worry about this, davve is removing the Relative enum from ...
7 years, 1 month ago (2013-11-02 01:28:35 UTC) #3
Steve Block
> We don't actually need to worry about this, davve is removing the Relative enum ...
7 years, 1 month ago (2013-11-03 08:53:45 UTC) #4
Steve Block
> It looks like jchaffraix thinks we should interpolate between numbers and > lengths, presumably ...
7 years, 1 month ago (2013-11-03 23:53:38 UTC) #5
Steve Block
PTAL https://codereview.chromium.org/54123007/diff/80001/LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt File LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt (right): https://codereview.chromium.org/54123007/diff/80001/LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt#newcode17 LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt:17: FAIL: border-image-outset from [0] to [5] was [0] ...
7 years, 1 month ago (2013-11-13 05:23:11 UTC) #6
alancutter (OOO until 2018)
https://codereview.chromium.org/54123007/diff/80001/LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt File LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt (right): https://codereview.chromium.org/54123007/diff/80001/LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt#newcode17 LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt:17: FAIL: border-image-outset from [0] to [5] was [0] at ...
7 years, 1 month ago (2013-11-13 07:48:27 UTC) #7
Steve Block
https://codereview.chromium.org/54123007/diff/80001/LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt File LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt (right): https://codereview.chromium.org/54123007/diff/80001/LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt#newcode17 LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-outset-interpolation-expected.txt:17: FAIL: border-image-outset from [0] to [5] was [0] at ...
7 years, 1 month ago (2013-11-13 08:50:44 UTC) #8
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/54123007/diff/80001/LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-width-interpolation-expected.txt File LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-width-interpolation-expected.txt (right): https://codereview.chromium.org/54123007/diff/80001/LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-width-interpolation-expected.txt#newcode33 LayoutTests/virtual/web-animations-css/animations/interpolation/border-image-width-interpolation-expected.txt:33: FAIL: border-image-width from [10%] to [20px] was [calc(13% ...
7 years, 1 month ago (2013-11-13 09:04:59 UTC) #9
Steve Block
> getComputedStyle() only return used values for a few properties, the remaining > have their ...
7 years, 1 month ago (2013-11-13 23:29:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/steveblock@chromium.org/54123007/170001
7 years, 1 month ago (2013-11-13 23:37:06 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=12473
7 years, 1 month ago (2013-11-14 03:15:53 UTC) #12
Steve Block
Bot failure is existing flakiness, landing manually.
7 years, 1 month ago (2013-11-14 03:17:26 UTC) #13
Steve Block
7 years, 1 month ago (2013-11-14 03:18:53 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 manually as r161971 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698