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

Unified Diff: third_party/WebKit/LayoutTests/svg/animations/target-move-crash.html

Issue 2763283002: Revalidate SMIL animation value after target change (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/animations/target-move-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/animations/target-move-crash.html
diff --git a/third_party/WebKit/LayoutTests/svg/animations/target-move-crash.html b/third_party/WebKit/LayoutTests/svg/animations/target-move-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..0187635ce88dd8a09875a1bec24db561e6d783eb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/animations/target-move-crash.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+
+var done = false;
+function repeatHandler() {
+ if (done && window.testRunner)
+ testRunner.notifyDone()
+}
+function handler() {
+ group.before(firstroot);
+ done = true;
+}
+</script>
+<svg id="firstroot"></svg>
+<svg>
+ <g id="group">
+ <set attributeName="stroke-dashoffset" xlink:href="#firstroot" onbegin="handler()"/>
+ </g>
+ <animate attributeName="stroke-linejoin" dur="0.1s" repeatDur="indefinite" onrepeat="repeatHandler()">
+</svg>
+<p>PASS if no crash</p>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/animations/target-move-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698