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

Side by Side Diff: LayoutTests/animations/interpolation/webkit-clip-path-interpolation.html

Issue 851693005: [CSS Shapes] Implement BasicShapeInset blending (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 11 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 .target { 4 .target {
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 } 7 }
8 .active { 8 .active {
9 background-color: green; 9 background-color: green;
10 display: inline-block; 10 display: inline-block;
(...skipping 25 matching lines...) Expand all
36 from: 'none', 36 from: 'none',
37 to: 'circle(3px at 1px 2px)' 37 to: 'circle(3px at 1px 2px)'
38 }, [ 38 }, [
39 {at: -0.3, is: 'none'}, 39 {at: -0.3, is: 'none'},
40 {at: 0, is: 'none'}, 40 {at: 0, is: 'none'},
41 {at: 0.3, is: 'none'}, 41 {at: 0.3, is: 'none'},
42 {at: 0.6, is: 'circle(3px at 1px 2px)'}, 42 {at: 0.6, is: 'circle(3px at 1px 2px)'},
43 {at: 1, is: 'circle(3px at 1px 2px)'}, 43 {at: 1, is: 'circle(3px at 1px 2px)'},
44 {at: 1.5, is: 'circle(3px at 1px 2px)'} 44 {at: 1.5, is: 'circle(3px at 1px 2px)'}
45 ]); 45 ]);
46
47 assertInterpolation({
48 property: '-webkit-clip-path',
49 from: 'inset(0%)',
50 to: 'inset(20%)',
51 }, [
52 {at: -0.3, is: 'inset(-6%)'},
53 {at: 0, is: 'inset(0%)'},
54 {at: 0.3, is: 'inset(6%)'},
55 {at: 0.6, is: 'inset(12%)'},
56 {at: 1, is: 'inset(20%)'},
57 {at: 1.5, is: 'inset(30%)'},
58 ]);
59
46 </script> 60 </script>
47 </body> 61 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698