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', |