Index: LayoutTests/svg/custom/circle-update-to-empty.html |
diff --git a/LayoutTests/svg/custom/circle-update-to-empty.html b/LayoutTests/svg/custom/circle-update-to-empty.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ea1fa6efed900d3e08d73d763d972fe4ed2df1a4 |
--- /dev/null |
+++ b/LayoutTests/svg/custom/circle-update-to-empty.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/run-after-display.js"></script> |
+<script> |
+if (window.testRunner) |
+ testRunner.waitUntilDone(); |
+ |
+runAfterDisplay(function() { |
+ document.getElementById('c1').setAttribute('r', 0); |
+ document.getElementById('c2').setAttribute('r', -50); |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+}); |
+</script> |
+<svg width="200" height="100"> |
+ <rect width="200" height="100" fill="green"/> |
+ <circle id="c1" cx="50" cy="50" r="50" stroke="red" fill="red" vector-effect="non-scaling-stroke"/> |
+ <circle id="c2" cx="150" cy="50" r="50" stroke="red" fill="red" vector-effect="non-scaling-stroke"/> |
+</svg> |