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

Unified Diff: LayoutTests/animations/interpolation/svg-stroke-width-interpolation.html

Issue 983103003: Use Length for the stroke-width property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adjust transitions/svg-transitions.html Created 5 years, 9 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: LayoutTests/animations/interpolation/svg-stroke-width-interpolation.html
diff --git a/LayoutTests/animations/interpolation/svg-stroke-width-interpolation.html b/LayoutTests/animations/interpolation/svg-stroke-width-interpolation.html
index 2bd7305257a3baf221c3ef6ec6b4659534efe574..508cf802c36b272f4374869e52d6cb163f5254b1 100644
--- a/LayoutTests/animations/interpolation/svg-stroke-width-interpolation.html
+++ b/LayoutTests/animations/interpolation/svg-stroke-width-interpolation.html
@@ -47,12 +47,12 @@ assertInterpolation({
from: '30px',
to: '10em'
}, [
- {at: -0.3, is: '30px'},
+ {at: -0.3, is: '0px'},
{at: 0, is: '30px'},
- {at: 0.3, is: '30px'},
- {at: 0.6, is: '10em'},
+ {at: 0.3, is: '69px'},
+ {at: 0.6, is: '108px'},
{at: 1, is: '10em'},
- {at: 1.5, is: '10em'},
+ {at: 1.5, is: '225px'},
]);
assertInterpolation({
property: 'stroke-width',
@@ -71,12 +71,12 @@ assertInterpolation({
from: '10em',
to: '30px'
}, [
- {at: -0.3, is: '10em'},
+ {at: -0.3, is: '199px'},
{at: 0, is: '10em'},
- {at: 0.3, is: '10em'},
- {at: 0.6, is: '30px'},
+ {at: 0.3, is: '121px'},
+ {at: 0.6, is: '82px'},
{at: 1, is: '30px'},
- {at: 1.5, is: '30px'},
+ {at: 1.5, is: '0px'},
]);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698