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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/animations/animval-web-animations-flush-crash.html

Issue 2689713003: Don't clear 'web animations dirty' flag if we have no rare data (Closed)
Patch Set: Use testharness Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGElement.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 { 0% { opacity: 0; } }
6 * { animation-name: anim; animation-duration: 4s; }
7 </style>
8 <p>PASS if no crash</p>
9 <script>
10 async_test(function(t) {
11 window.onload = t.step_func(function() {
12 let parent = document.createElement("div");
13 element = parent.appendChild(
14 document.createElementNS("http://www.w3.org/2000/svg", "marker "));
15
16 setTimeout(t.step_func_done(function() {
17 element.computedName;
18 let before = performance.now();
19 while (performance.now() - before < 17)
20 ;
21 element.className.animVal;
22 }));
23 });
24 });
25 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698