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

Unified Diff: LayoutTests/svg/custom/use-pathseglist-change.html

Issue 1134733005: SVG <use> should update when the referenced <path> is updating pathSegList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed test case location and added prefix Created 5 years, 7 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/use-pathseglist-change-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/use-pathseglist-change.html
diff --git a/LayoutTests/svg/custom/use-pathseglist-change.html b/LayoutTests/svg/custom/use-pathseglist-change.html
new file mode 100644
index 0000000000000000000000000000000000000000..d97b80673d98a4e4fa9b646341c3a250168fd859
--- /dev/null
+++ b/LayoutTests/svg/custom/use-pathseglist-change.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+
+window.onload = function() {
+ document.getElementById("path").pathSegList[2].y = 200;
+ requestAnimationFrame(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+};
+</script>
+<svg height="200" width="300">
+ <path id="path" d="M50,50 L100,50 L100,100 Z" style="fill:green;"/>
+ <use xlink:href="#path" x="100"/>
+</svg>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/use-pathseglist-change-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698