Index: third_party/WebKit/LayoutTests/svg/stroke/pathlength-change.html |
diff --git a/third_party/WebKit/LayoutTests/svg/stroke/pathlength-change.html b/third_party/WebKit/LayoutTests/svg/stroke/pathlength-change.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7659a928e8794f5d2a75f0594a346182ddf5a554 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/stroke/pathlength-change.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/run-after-layout-and-paint.js"></script> |
+<svg width="400" height="400"> |
+ <path pathLength="800" d="M100,100h100v100h-100z" fill="none" |
+ stroke="blue" stroke-width="20" stroke-dasharray="25"/> |
+</svg> |
+<script> |
+runAfterLayoutAndPaint(function() { |
+ document.querySelector('path').setAttribute('pathLength', 200); |
+}, true); |
+</script> |