Index: third_party/WebKit/LayoutTests/svg/animations/img-tag-css-length-animation-crash.html |
diff --git a/third_party/WebKit/LayoutTests/svg/animations/img-tag-css-length-animation-crash.html b/third_party/WebKit/LayoutTests/svg/animations/img-tag-css-length-animation-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3d315fc79685475330b75b7aba1a8c4c5b47b039 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/animations/img-tag-css-length-animation-crash.html |
@@ -0,0 +1,6 @@ |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><style>@keyframes test {from {left: 1px;} to {left: 1px}} rect {animation: test 1s infinite;}</style><rect></rect></svg>"> |
+<script> |
+test(() => {}, 'Do not crash when animating CSS lengths inside an SVG image document.'); |
+</script> |