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

Unified Diff: LayoutTests/svg/custom/circle-update-to-empty.html

Issue 599103005: Make sure m_usePathFallback is always updated when updating shape (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | LayoutTests/svg/custom/circle-update-to-empty-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/circle-update-to-empty-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698