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

Side by Side Diff: LayoutTests/virtual/threaded/animations/compositor-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;
alancutter (OOO until 2018) 2015/09/01 01:48:46 Set both divs to have "border-left: solid; border-
Eric Willigers 2015/09/01 06:32:10 Acknowledged.
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 expected.style.rotate = '225deg 1 0 0';
alancutter (OOO until 2018) 2015/09/01 01:48:46 This should live in the #expected rule.
Eric Willigers 2015/09/01 06:24:42 Done.
23
24 var keyframes = [{ rotate: '0deg 0 1 0' }, { rotate: '450deg 1 0 0'}]
25
26 var animation = target.animate(keyframes, {
27 duration: 1e10,
28 delay: -0.5e10
29 });
alancutter (OOO until 2018) 2015/09/01 01:48:46 Pause the animation and set currentTime instead. N
Eric Willigers 2015/09/01 06:24:42 Done.
30
31 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698