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

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

Issue 962763003: Use Length for the stroke-dashoffset property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make font-size explicit. Created 5 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html
diff --git a/LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html b/LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html
index fefeb54cf87196024a41c41fcf540f77679a8f2f..7e4dbbbe1c2f8597b0f8a7b35857518cce06b258 100644
--- a/LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html
+++ b/LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation.html
@@ -7,6 +7,7 @@ svg {
.target {
stroke: black;
stroke-width: 10px;
+ font-size: 16px;
}
.replica {
stroke: green;
@@ -38,13 +39,13 @@ assertInterpolation({
from: '-20px',
to: '30em'
}, [
- {at: -0.25, is: '-20px'},
+ {at: -0.25, is: '-145px'},
{at: 0, is: '-20px'},
- {at: 0.25, is: '-20px'},
- {at: 0.5, is: '30em'},
- {at: 0.75, is: '30em'},
+ {at: 0.25, is: '105px'},
+ {at: 0.5, is: '230px'},
+ {at: 0.75, is: '355px'},
{at: 1, is: '30em'},
- {at: 1.25, is: '30em'},
+ {at: 1.25, is: '605px'},
]);
assertInterpolation({
property: 'stroke-dashoffset',
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/svg-stroke-dashoffset-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698