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

Unified Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-x-composition.html

Issue 1587533002: Add composition support for SVG Web Animation of x, y, dx, dy attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review changes Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-x-composition.html
diff --git a/third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-x-composition.html b/third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-x-composition.html
index cc8fac677d57aeea7c5d107bde540fdcab5ddcde..7630bc4e2fb480aaaf9eed615465264881be14f2 100644
--- a/third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-x-composition.html
+++ b/third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-x-composition.html
@@ -2,15 +2,14 @@
<html>
<body>
<template id="target-template">
-<svg width="90" height="90">
-<!-- In text positioning elements, x is a list.
- See svg-y-interpolation.html for an example. -->
-<rect class="target" x="10" y="10" width="20" height="20" />
-</svg>
+ <svg width="0" height="0">
+ <rect class="target"/>
+ </svg>
</template>
<script src="../svg-attribute-interpolation/resources/interpolation-test.js"></script>
<script>
'use strict';
+
assertAttributeInterpolation({
property: 'x',
underlying: '2',
@@ -26,6 +25,7 @@ assertAttributeInterpolation({
{at: 1, is: 6},
{at: 1.4, is: 8}
]);
+
assertAttributeInterpolation({
property: 'x',
underlying: '2',
@@ -41,6 +41,7 @@ assertAttributeInterpolation({
{at: 1, is: 6},
{at: 1.4, is: 8}
]);
+
assertAttributeInterpolation({
property: 'x',
underlying: '1',

Powered by Google App Engine
This is Rietveld 408576698