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

Unified Diff: third_party/WebKit/LayoutTests/animations/d-path-neutral-value-crash.html

Issue 2487913002: Remove InterpolableBool and existing use of it in SVG path interpolation (Closed)
Patch Set: Created 4 years, 1 month 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/Source/core/animation/InterpolableValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/d-path-neutral-value-crash.html
diff --git a/third_party/WebKit/LayoutTests/animations/d-path-neutral-value-crash.html b/third_party/WebKit/LayoutTests/animations/d-path-neutral-value-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..90291d1e239545b0f3ffcdfab5162169b3687516
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/animations/d-path-neutral-value-crash.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<div id="target"></div>
+<script>
+test(function() {
+ target.style.d = 'path("m0 0a0 0 0 0 0 0 0")';
+ target.animate({d: 'none'}, 1);
+ getComputedStyle(target).d;
+}, 'Do not crash when animating path with an underlying value involving arc flags.');
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/InterpolableValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698