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

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

Issue 975733002: Use Length for the stroke-dasharray property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test for style-change responsive-ness. 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
Index: LayoutTests/animations/interpolation/svg-stroke-dasharray-interpolation.html
diff --git a/LayoutTests/animations/interpolation/svg-stroke-dasharray-interpolation.html b/LayoutTests/animations/interpolation/svg-stroke-dasharray-interpolation.html
index 43a9b670a6db75db888428b879603c0f9362e2ac..30440be3894d03ff68f115930ead267c53a88f99 100644
--- a/LayoutTests/animations/interpolation/svg-stroke-dasharray-interpolation.html
+++ b/LayoutTests/animations/interpolation/svg-stroke-dasharray-interpolation.html
@@ -2,6 +2,7 @@
<meta charset="UTF-8">
<style>
.target {
+ font-size: 16px;
stroke-width: 10px;
stroke: black;
}
@@ -201,14 +202,14 @@ assertInterpolation({
from: '0em 20px 30px',
to: '40em 0em 60em'
}, [
- {at: -0.2, is: '0em 20px 30px'},
+ {at: -0.2, is: '0em 24px 0px'},
{at: 0, is: '0em 20px 30px'},
- {at: 0.2, is: '0em 20px 30px'},
- {at: 0.4, is: '0em 20px 30px'},
- {at: 0.6, is: '40em 0em 60em'},
- {at: 0.8, is: '40em 0em 60em'},
+ {at: 0.2, is: '8em 16px 216px'},
+ {at: 0.4, is: '16em 12px 402px'},
+ {at: 0.6, is: '24em 8px 588px'},
+ {at: 0.8, is: '32em 4px 774px'},
{at: 1, is: '40em 0em 60em'},
- {at: 1.2, is: '40em 0em 60em'},
+ {at: 1.2, is: '48em 0px 1146px'},
]);
assertInterpolation({
@@ -216,14 +217,14 @@ assertInterpolation({
from: '0px 20px',
to: '40px 0px 60em'
}, [
- {at: -0.2, is: '0px 20px'},
- {at: 0, is: '0px 20px'},
- {at: 0.2, is: '0px 20px'},
- {at: 0.4, is: '0px 20px'},
- {at: 0.6, is: '40px 0px 60em'},
- {at: 0.8, is: '40px 0px 60em'},
- {at: 1, is: '40px 0px 60em'},
- {at: 1.2, is: '40px 0px 60em'},
+ {at: -0.2, is: '0px 24px 0px 16px 0px 0px'},
+ {at: 0, is: '0px 20px 0px 20px 0px 20px'},
+ {at: 0.2, is: '8px 16px 192px 24px 0px 208px'},
+ {at: 0.4, is: '16px 12px 384px 28px 0px 396px'},
+ {at: 0.6, is: '24px 8px 576px 32px 0px 584px'},
+ {at: 0.8, is: '32px 4px 768px 36px 0px 772px'},
+ {at: 1, is: '40px 0px 60em 40px 0px 60em'},
+ {at: 1.2, is: '48px 0px 1152px 44px 0px 1148px'},
]);
// Mixed units

Powered by Google App Engine
This is Rietveld 408576698