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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/animation-css-cancel-update-crash.html

Issue 1500443002: CSS Animations: Fix crash where update isn't applied (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <style>
5 @keyframes anim {
6 from { background-color: blue; }
7 to { background-color: red; }
8 }
9
10 @keyframes anim2 {
11 from { opacity: 0; }
12 to { opacity: 1; }
13 }
14 </style>
15 <div id="target"></div>
16 <script>
17 test(function() {
18 target.style.animation = "anim 1s, anim2 1s";
19 target.offsetTop;
20 target.style.animation = "anim2 2s";
21 target.offsetTop;
22 }, "Check that cancelling one running animation and updating another doesn't c rash");
23 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698