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

Unified Diff: third_party/WebKit/LayoutTests/svg/repaint/path-pathlength-change.html

Issue 1376523002: Support 'pathLength' for stroking operations on <path> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove double space Created 4 years, 11 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: third_party/WebKit/LayoutTests/svg/repaint/path-pathlength-change.html
diff --git a/third_party/WebKit/LayoutTests/svg/repaint/path-pathlength-change.html b/third_party/WebKit/LayoutTests/svg/repaint/path-pathlength-change.html
new file mode 100644
index 0000000000000000000000000000000000000000..0817f07a1bb7f9576db71e34d45c5f6429f82210
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/repaint/path-pathlength-change.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script>
+window.onload = runRepaintTest;
+
+function repaintTest() {
+ document.querySelector('path').setAttribute('pathLength', 200);
+}
+</script>
+<svg width="400" height="400">
+ <path pathLength="0" d="M100,100h100v100h-100z" fill="none"
+ stroke="blue" stroke-width="20" stroke-dasharray="25"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698