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

Unified Diff: LayoutTests/svg/css/svg-angle-turn.svg

Issue 303263008: [SVG2] Add support for the 'turn' unit in <angle>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixups for MathExtras Created 6 years, 6 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 | « LayoutTests/fast/svg/svgangle.html ('k') | LayoutTests/svg/css/svg-angle-turn-expected.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/css/svg-angle-turn.svg
diff --git a/LayoutTests/svg/css/svg-angle-turn.svg b/LayoutTests/svg/css/svg-angle-turn.svg
new file mode 100644
index 0000000000000000000000000000000000000000..61466ddcba5aafdaa93e1be908a1e0588149df0e
--- /dev/null
+++ b/LayoutTests/svg/css/svg-angle-turn.svg
@@ -0,0 +1,32 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="600">
+ <defs>
+ <marker id="turn0.2" refY="5" viewBox="0 0 10 10" orient="0.2turn">
+ <path d="M0 0l10 5 -10 5z"/>
+ </marker>
+ <marker id="turn0.5" refY="5" viewBox="0 0 10 10" orient="0.5turn">
+ <path d="M0 0l10 5 -10 5z"/>
+ </marker>
+ <marker id="turn1" refY="5" viewBox="0 0 10 10" orient="1turn">
+ <path d="M0 0l10 5 -10 5z"/>
+ </marker>
+ <marker id="turn1.7" refY="5" viewBox="0 0 10 10" orient="1.7turn">
+ <path d="M0 0l10 5 -10 5z"/>
+ </marker>
+ <style>
+ .test {
+ stroke: black;
+ stroke-width: 10px;
+ }
+
+ #t1 { marker-end: url(#turn0.2); }
+ #t2 { marker-end: url(#turn0.5); }
+ #t3 { marker-end: url(#turn1); }
+ #t4 { marker-end: url(#turn1.7); }
+ </style>
+ </defs>
+
+ <path id="t1" class="test" d="M10 40h200" />
+ <path id="t2" class="test" d="M10 80h200" />
+ <path id="t3" class="test" d="M10 120h200" />
+ <path id="t4" class="test" d="M10 160h200" />
+</svg>
« no previous file with comments | « LayoutTests/fast/svg/svgangle.html ('k') | LayoutTests/svg/css/svg-angle-turn-expected.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698