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

Side by Side Diff: LayoutTests/svg/markers/marker-orientation-02-expected.svg

Issue 539833004: [SVG2] Add support for marker orient="auto-start-reverse". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add dump-render-tree output + fix nit and test 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <svg xmlns="http://www.w3.org/2000/svg"
6 xmlns:xlink="http://www.w3.org/1999/xlink">
7 <title>Reference for test that marker orientation is correct at the end of
8 arcs when orient="auto-start-reverse" is used</title>
9 <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=769115 -->
10
11 <defs>
12 <g id="m1" transform="translate(-20,-20)" fill="blue">
13 <rect x="5" y="15" width="22" height="10"/>
14 <rect x="25" y="10" height="20" width="10"/>
15 <rect x="35" y="18" height="4" width="5"/>
16 </g>
17
18 <g id="m2" transform="translate(-20,-20)" fill="red">
19 <rect x="5" y="15" width="22" height="10"/>
20 <rect x="25" y="10" height="20" width="10"/>
21 <rect x="35" y="18" height="4" width="5"/>
22 </g>
23 </defs>
24
25 <g fill="none">
26 <!-- arcs that go from the left of the circle to... -->
27 <g>
28 <!-- ...90 degrees anti-clockwise -->
29 <use xlink:href="#m1" transform="translate(100,100)rotate(270)"/>
30 <use xlink:href="#m2" transform="rotate(-90,150,100)translate(100,100)rota te(90)"/>
31 <!-- ...180 degrees anti-clockwise -->
32 <use xlink:href="#m2" transform="rotate(-180,150,100)translate(100,100)rot ate(90)"/>
33 <!-- ...270 degrees anti-clockwise -->
34 <use xlink:href="#m2" transform="rotate(-270,150,100)translate(100,100)rot ate(90)"/>
35 </g>
36
37 <!-- arcs that go from the left of the circle to... -->
38 <g transform="translate(250,0)">
39 <!-- ...90 degrees anti-clockwise -->
40 <use xlink:href="#m1" transform="translate(100,100)rotate(90)"/>
41 <use xlink:href="#m2" transform="rotate(90,150,100)translate(100,100)rotat e(-90)"/>
42 <!-- ...180 degrees anti-clockwise -->
43 <use xlink:href="#m2" transform="rotate(180,150,100)translate(100,100)rota te(-90)"/>
44 <!-- ...270 degrees anti-clockwise -->
45 <use xlink:href="#m2" transform="rotate(270,150,100)translate(100,100)rota te(-90)"/>
46 </g>
47
48 <!-- arcs that go from the right of the circle to... -->
49 <g transform="translate(0,250)">
50 <!-- ...90 degrees anti-clockwise -->
51 <use xlink:href="#m1" transform="translate(200,100)rotate(270)"/>
52 <use xlink:href="#m2" transform="rotate(90,150,100)translate(200,100)rotat e(90)"/>
53 <!-- ...180 degrees anti-clockwise -->
54 <use xlink:href="#m2" transform="rotate(180,150,100)translate(200,100)rota te(90)"/>
55 <!-- ...270 degrees anti-clockwise -->
56 <use xlink:href="#m2" transform="rotate(270,150,100)translate(200,100)rota te(90)"/>
57 </g>
58
59 <!-- arcs that go from the right of the circle to... -->
60 <g transform="translate(250,250)">
61 <!-- ...90 degrees clockwise -->
62 <use xlink:href="#m1" transform="translate(200,100)rotate(90)"/>
63 <use xlink:href="#m2" transform="rotate(-90,150,100)translate(200,100)rota te(-90)"/>
64 <!-- ...180 degrees clockwise -->
65 <use xlink:href="#m2" transform="rotate(-180,150,100)translate(200,100)rot ate(-90)"/>
66 <!-- ...270 degrees clockwise -->
67 <use xlink:href="#m2" transform="rotate(-270,150,100)translate(200,100)rot ate(-90)"/>
68 </g>
69 </g>
70
71 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/markers/marker-orientation-02.svg ('k') | Source/core/rendering/svg/RenderSVGResourceMarker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698