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

Side by Side Diff: ManualTests/rotate-zero-degrees.html

Issue 1322843002: Fix for rotate from 0deg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 div {
4 position: absolute;
5 width: 100px;
6 height: 100px;
7 }
8
9 #target {
10 border: solid red;
11 }
12
13 #expected {
14 border: solid green;
15 }
16 </style>
17
18 <div id="target"></div>
19 <div id="expected"></div>
20
21 <script>
22 // Both divs should rotate equally - Same speed, same angle
23
24 var targetKeyframes = [{ rotate: '0deg 0 1 0' }, { rotate: '450deg 1 0 0'}]
25 var expectedKeyframes = [{ rotate: '0deg 1 0 0' }, { rotate: '450deg 1 0 0'}]
26
27 target.animate(targetKeyframes, { duration: 4000, iterations: Infinity });
28 expected.animate(expectedKeyframes, { duration: 4000, iterations: Infinity });
29
30 </script>
alancutter (OOO until 2018) 2015/09/01 01:48:46 Please don't add manual tests.
Eric Willigers 2015/09/01 06:24:42 Acknowledged.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698