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

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

Issue 991533003: Handle more <length> properties in animation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: stroke-dashoffset setter exists + fixups + add tests 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <style> 3 <style>
4 svg { 4 svg {
5 stroke-dashoffset: 100px; 5 stroke-dashoffset: 100px;
6 } 6 }
7 .target { 7 .target {
8 stroke: black; 8 stroke: black;
9 stroke-width: 10px; 9 stroke-width: 10px;
10 font-size: 16px; 10 font-size: 16px;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 to: '140px' 53 to: '140px'
54 }, [ 54 }, [
55 {at: -0.25, is: '90px'}, 55 {at: -0.25, is: '90px'},
56 {at: 0, is: '100px'}, 56 {at: 0, is: '100px'},
57 {at: 0.25, is: '110px'}, 57 {at: 0.25, is: '110px'},
58 {at: 0.5, is: '120px'}, 58 {at: 0.5, is: '120px'},
59 {at: 0.75, is: '130px'}, 59 {at: 0.75, is: '130px'},
60 {at: 1, is: '140px'}, 60 {at: 1, is: '140px'},
61 {at: 1.25, is: '150px'}, 61 {at: 1.25, is: '150px'},
62 ]); 62 ]);
63 assertInterpolation({
64 property: 'stroke-dashoffset',
65 from: '-10',
66 to: '10'
67 }, [
68 {at: -0.25, is: '-15'},
69 {at: 0, is: '-10'},
70 {at: 0.25, is: '-5'},
71 {at: 0.5, is: '0'},
72 {at: 0.75, is: '5'},
73 {at: 1, is: '10'},
74 {at: 1.25, is: '15'},
75 ]);
63 </script> 76 </script>
64 </body> 77 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698