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

Unified Diff: LayoutTests/svg/custom/rounded-rect-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
Index: LayoutTests/svg/custom/rounded-rect-update-to-empty.html
diff --git a/LayoutTests/svg/custom/rounded-rect-update-to-empty.html b/LayoutTests/svg/custom/rounded-rect-update-to-empty.html
new file mode 100644
index 0000000000000000000000000000000000000000..3fda0cb27310b650b97121214659ccb6c20a6c24
--- /dev/null
+++ b/LayoutTests/svg/custom/rounded-rect-update-to-empty.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<script src="../../resources/run-after-display.js"></script>
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+
+runAfterDisplay(function() {
+ document.getElementById('rr1').setAttribute('width', 0);
+ document.getElementById('rr2').setAttribute('width', -100);
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+});
+</script>
+<svg width="200" height="100">
+ <rect width="200" height="100" fill="green"/>
+ <rect id="rr1" width="100" height="100" rx="8" stroke="red" fill="red"/>
+ <rect id="rr2" width="100" height="100" rx="8" stroke="red" fill="red" x="100"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698