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

Issue 203723005: Web Animations API: Update interpolation test harness to test element.animate() (Closed)

Created:
6 years, 9 months ago by alancutter (OOO until 2018)
Modified:
6 years, 9 months ago
Reviewers:
dstockwell
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), dstockwell, Timothy Loh, darktears, Steve Block, dino_apple.com, Eric Willigers
Visibility:
Public.

Description

Web Animations API: Update interpolation test harness to test element.animate() The animate() method on Element is severely under tested. This patch makes use of the existing animation interpolation tests to also test element.animate(). Just over 50% of the tests pass, the failures are being checked in as expected failures for now as it is representative of the current state of element.animate(). BUG=352472 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169775

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review changes, added section headers and rebased #

Total comments: 4

Patch Set 3 : Review change #

Patch Set 4 : Rebased and added rounding to numbers that get displayed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2056 lines, -54 lines) Patch
M LayoutTests/animations/interpolation/background-color-interpolation-expected.txt View 1 2 chunks +15 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/background-image-interpolation-expected.txt View 1 2 chunks +45 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/background-position-interpolation-expected.txt View 1 2 chunks +24 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/background-position-origin-interpolation-expected.txt View 1 2 chunks +48 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/background-size-interpolation-expected.txt View 1 2 chunks +38 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-color-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-image-outset-interpolation-expected.txt View 1 2 chunks +31 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-image-slice-interpolation-expected.txt View 1 2 chunks +17 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-image-source-interpolation-expected.txt View 1 2 chunks +27 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-image-width-interpolation-expected.txt View 1 2 chunks +71 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-radius-interpolation-expected.txt View 1 2 chunks +15 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-spacing-interpolation-expected.txt View 1 2 chunks +21 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/border-width-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/bottom-interpolation-expected.txt View 1 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/box-shadow-interpolation-expected.txt View 1 2 3 2 chunks +21 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/calc-interpolation-expected.txt View 1 2 chunks +31 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/clip-interpolation-expected.txt View 1 1 chunk +33 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/color-interpolation-expected.txt View 1 1 chunk +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/filter-interpolation-expected.txt View 1 2 chunks +98 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/flex-interpolation-expected.txt View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/font-size-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/font-weight-interpolation-expected.txt View 1 2 chunks +23 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/height-interpolation-expected.txt View 1 1 chunk +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/left-interpolation-expected.txt View 1 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/letter-spacing-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/line-height-interpolation-expected.txt View 1 2 chunks +84 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/list-style-image-interpolation-expected.txt View 1 2 chunks +27 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/margin-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/max-height-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/max-width-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/min-height-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/min-width-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/object-position-interpolation-expected.txt View 1 2 chunks +28 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/opacity-interpolation-expected.txt View 1 1 chunk +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/orphans-interpolation-expected.txt View 1 1 chunk +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/outline-color-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/outline-offset-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/outline-width-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/padding-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/perspective-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/perspective-origin-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/resources/interpolation-test.js View 1 2 3 14 chunks +97 lines, -29 lines 0 comments Download
M LayoutTests/animations/interpolation/right-interpolation-expected.txt View 1 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/sample-interpolation-reftest-expected.html View 1 2 3 1 chunk +19 lines, -7 lines 0 comments Download
M LayoutTests/animations/interpolation/sample-interpolation-template-reftest.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/animations/interpolation/sample-interpolation-template-reftest-expected.html View 1 1 chunk +18 lines, -8 lines 0 comments Download
M LayoutTests/animations/interpolation/sample-interpolation-test-expected.txt View 1 1 chunk +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/shape-image-threshold-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/shape-inside-expected.txt View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/shape-margin-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/shape-outside-expected.txt View 1 2 3 2 chunks +36 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-baseline-shift-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-fill-interpolation-expected.txt View 1 1 chunk +14 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-fill-opacity-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-flood-color-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-flood-opacity-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-kerning-interpolation-expected.txt View 1 1 chunk +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-lighting-color-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-stop-color-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-stop-opacity-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-stroke-dasharray-interpolation-expected.txt View 1 2 chunks +77 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-stroke-interpolation-expected.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-stroke-miterlimit-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-stroke-opacity-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/svg-stroke-width-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/text-decoration-color-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/text-indent-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/text-shadow-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/top-interpolation-expected.txt View 1 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/transform-interpolation-expected.txt View 1 2 3 2 chunks +291 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/transform-origin-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/visibility-interpolation-expected.txt View 1 1 chunk +26 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-background-size-interpolation-expected.txt View 1 2 chunks +38 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-clip-path-interpolation-expected.txt View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-column-count-interpolation-expected.txt View 1 2 chunks +20 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-column-gap-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-column-rule-color-interpolation-expected.txt View 1 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-column-rule-width-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-column-width-interpolation-expected.txt View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-box-image-outset-interpolation-expected.txt View 1 2 chunks +15 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-box-image-slice-interpolation-expected.txt View 1 2 chunks +16 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-box-image-source-interpolation-expected.txt View 1 2 chunks +27 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-box-image-width-interpolation-expected.txt View 1 2 chunks +19 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-image-interpolation-expected.txt View 1 2 chunks +45 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-position-interpolation-expected.txt View 1 2 chunks +24 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-mask-size-interpolation-expected.txt View 1 2 chunks +38 lines, -0 lines 0 comments Download
D LayoutTests/animations/interpolation/webkit-text-fill-color-interpolation-expected.txt View 1 chunk +0 lines, -7 lines 0 comments Download
M LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/widows-interpolation-expected.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/width-interpolation-expected.txt View 1 1 chunk +15 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/word-spacing-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/z-index-interpolation-expected.txt View 1 2 chunks +9 lines, -0 lines 0 comments Download
M LayoutTests/animations/interpolation/zoom-iterpolation-expected.txt View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
alancutter (OOO until 2018)
There's a JS file to review somewhere in there...
6 years, 9 months ago (2014-03-19 00:16:27 UTC) #1
dstockwell
https://codereview.chromium.org/203723005/diff/1/LayoutTests/animations/interpolation/background-color-interpolation-expected.txt File LayoutTests/animations/interpolation/background-color-interpolation-expected.txt (right): https://codereview.chromium.org/203723005/diff/1/LayoutTests/animations/interpolation/background-color-interpolation-expected.txt#newcode13 LayoutTests/animations/interpolation/background-color-interpolation-expected.txt:13: PASS: backgroundColor from [white] to [orange] was [white] at ...
6 years, 9 months ago (2014-03-20 00:35:45 UTC) #2
alancutter (OOO until 2018)
https://codereview.chromium.org/203723005/diff/1/LayoutTests/animations/interpolation/background-color-interpolation-expected.txt File LayoutTests/animations/interpolation/background-color-interpolation-expected.txt (right): https://codereview.chromium.org/203723005/diff/1/LayoutTests/animations/interpolation/background-color-interpolation-expected.txt#newcode13 LayoutTests/animations/interpolation/background-color-interpolation-expected.txt:13: PASS: backgroundColor from [white] to [orange] was [white] at ...
6 years, 9 months ago (2014-03-20 04:59:55 UTC) #3
dstockwell
lgtm https://codereview.chromium.org/203723005/diff/20001/LayoutTests/animations/interpolation/resources/interpolation-test.js File LayoutTests/animations/interpolation/resources/interpolation-test.js (right): https://codereview.chromium.org/203723005/diff/20001/LayoutTests/animations/interpolation/resources/interpolation-test.js#newcode289 LayoutTests/animations/interpolation/resources/interpolation-test.js:289: function makeInterpolationTest(cssTest, fraction, testId, caseId, params, expectation) { ...
6 years, 9 months ago (2014-03-20 05:47:23 UTC) #4
alancutter (OOO until 2018)
https://codereview.chromium.org/203723005/diff/20001/LayoutTests/animations/interpolation/resources/interpolation-test.js File LayoutTests/animations/interpolation/resources/interpolation-test.js (right): https://codereview.chromium.org/203723005/diff/20001/LayoutTests/animations/interpolation/resources/interpolation-test.js#newcode289 LayoutTests/animations/interpolation/resources/interpolation-test.js:289: function makeInterpolationTest(cssTest, fraction, testId, caseId, params, expectation) { On ...
6 years, 9 months ago (2014-03-20 05:55:57 UTC) #5
alancutter (OOO until 2018)
The CQ bit was checked by alancutter@chromium.org
6 years, 9 months ago (2014-03-20 05:56:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/203723005/40001
6 years, 9 months ago (2014-03-20 05:56:11 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 05:58:14 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_compile_dbg
6 years, 9 months ago (2014-03-20 05:58:14 UTC) #9
alancutter (OOO until 2018)
The CQ bit was checked by alancutter@chromium.org
6 years, 9 months ago (2014-03-22 01:47:58 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/203723005/60001
6 years, 9 months ago (2014-03-22 01:48:00 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-22 04:10:10 UTC) #12
Message was sent while issue was closed.
Change committed as 169775

Powered by Google App Engine
This is Rietveld 408576698