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

Side by Side Diff: LayoutTests/animations/composited-animation-style-update.html

Issue 1153413007: Resolve style in element.animate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Actually make unittests pass Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <style>
esprehn 2015/06/04 06:35:01 <!DOCTYPE html>
alancutter (OOO until 2018) 2015/06/04 06:45:56 Done.
2 div {
3 position: absolute;
4 width: 100px;
5 height: 100px;
6 }
7
8 #expectation {
9 font-size: 50px;
10 background: red;
11 transform: translate(1em, 1em);
12 }
13
14 #target {
15 font-size: 1px;
16 background: green;
17 }
18 </style>
19 <div id="expectation"></div>
20 <div id="target"></div>
21 <script>
22 target.style.fontSize = "50px";
23 target.animate([
24 {transform: "translate(1em, 1em)"},
25 {transform: "translate(1em, 1em)"},
26 ], {
27 duration: 1000,
28 iterations: Infinity,
29 });
30 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698