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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/path-segments-expected.txt

Issue 1416273002: Remove SVGPathElement.pathSegList and related interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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 This tests the SVG path segment DOM by creating paths and inspecting their prope rties.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS SVGPathSeg.PATHSEG_UNKNOWN is 0
7 PASS SVGPathSeg.PATHSEG_CLOSEPATH is 1
8 PASS SVGPathSeg.PATHSEG_MOVETO_ABS is 2
9 PASS SVGPathSeg.PATHSEG_MOVETO_REL is 3
10 PASS SVGPathSeg.PATHSEG_LINETO_ABS is 4
11 PASS SVGPathSeg.PATHSEG_LINETO_REL is 5
12 PASS SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS is 6
13 PASS SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL is 7
14 PASS SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS is 8
15 PASS SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL is 9
16 PASS SVGPathSeg.PATHSEG_ARC_ABS is 10
17 PASS SVGPathSeg.PATHSEG_ARC_REL is 11
18 PASS SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS is 12
19 PASS SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL is 13
20 PASS SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS is 14
21 PASS SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL is 15
22 PASS SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS is 16
23 PASS SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL is 17
24 PASS SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS is 18
25 PASS SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL is 19
26 PASS pathElement.createSVGPathSegClosePath().pathSegType is SVGPathSeg.PATHSEG_C LOSEPATH
27 PASS pathElement.createSVGPathSegClosePath().pathSegTypeAsLetter is 'Z'
28 PASS pathElement.createSVGPathSegMovetoAbs(1, 2).pathSegType is SVGPathSeg.PATHS EG_MOVETO_ABS
29 PASS pathElement.createSVGPathSegMovetoAbs(1, 2).pathSegTypeAsLetter is 'M'
30 PASS pathElement.createSVGPathSegMovetoAbs(1, 2).x is 1
31 PASS pathElement.createSVGPathSegMovetoAbs(1, 2).y is 2
32 PASS pathElement.createSVGPathSegMovetoRel(1, 2).pathSegType is SVGPathSeg.PATHS EG_MOVETO_REL
33 PASS pathElement.createSVGPathSegMovetoRel(1, 2).pathSegTypeAsLetter is 'm'
34 PASS pathElement.createSVGPathSegMovetoRel(1, 2).x is 1
35 PASS pathElement.createSVGPathSegMovetoRel(1, 2).y is 2
36 PASS pathElement.createSVGPathSegLinetoAbs(1, 2).pathSegType is SVGPathSeg.PATHS EG_LINETO_ABS
37 PASS pathElement.createSVGPathSegLinetoAbs(1, 2).pathSegTypeAsLetter is 'L'
38 PASS pathElement.createSVGPathSegLinetoAbs(1, 2).x is 1
39 PASS pathElement.createSVGPathSegLinetoAbs(1, 2).y is 2
40 PASS pathElement.createSVGPathSegLinetoRel(1, 2).pathSegType is SVGPathSeg.PATHS EG_LINETO_REL
41 PASS pathElement.createSVGPathSegLinetoRel(1, 2).pathSegTypeAsLetter is 'l'
42 PASS pathElement.createSVGPathSegLinetoRel(1, 2).x is 1
43 PASS pathElement.createSVGPathSegLinetoRel(1, 2).y is 2
44 PASS pathElement.createSVGPathSegCurvetoCubicAbs(1, 2, 3, 4, 5, 6).pathSegType i s SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS
45 PASS pathElement.createSVGPathSegCurvetoCubicAbs(1, 2, 3, 4, 5, 6).pathSegTypeAs Letter is 'C'
46 PASS pathElement.createSVGPathSegCurvetoCubicAbs(1, 2, 3, 4, 5, 6).x is 1
47 PASS pathElement.createSVGPathSegCurvetoCubicAbs(1, 2, 3, 4, 5, 6).y is 2
48 PASS pathElement.createSVGPathSegCurvetoCubicAbs(1, 2, 3, 4, 5, 6).x1 is 3
49 PASS pathElement.createSVGPathSegCurvetoCubicAbs(1, 2, 3, 4, 5, 6).y1 is 4
50 PASS pathElement.createSVGPathSegCurvetoCubicAbs(1, 2, 3, 4, 5, 6).x2 is 5
51 PASS pathElement.createSVGPathSegCurvetoCubicAbs(1, 2, 3, 4, 5, 6).y2 is 6
52 PASS pathElement.createSVGPathSegCurvetoCubicRel(1, 2, 3, 4, 5, 6).pathSegType i s SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL
53 PASS pathElement.createSVGPathSegCurvetoCubicRel(1, 2, 3, 4, 5, 6).pathSegTypeAs Letter is 'c'
54 PASS pathElement.createSVGPathSegCurvetoCubicRel(1, 2, 3, 4, 5, 6).x is 1
55 PASS pathElement.createSVGPathSegCurvetoCubicRel(1, 2, 3, 4, 5, 6).y is 2
56 PASS pathElement.createSVGPathSegCurvetoCubicRel(1, 2, 3, 4, 5, 6).x1 is 3
57 PASS pathElement.createSVGPathSegCurvetoCubicRel(1, 2, 3, 4, 5, 6).y1 is 4
58 PASS pathElement.createSVGPathSegCurvetoCubicRel(1, 2, 3, 4, 5, 6).x2 is 5
59 PASS pathElement.createSVGPathSegCurvetoCubicRel(1, 2, 3, 4, 5, 6).y2 is 6
60 PASS pathElement.createSVGPathSegCurvetoQuadraticAbs(1, 2, 3, 4).pathSegType is SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS
61 PASS pathElement.createSVGPathSegCurvetoQuadraticAbs(1, 2, 3, 4).pathSegTypeAsLe tter is 'Q'
62 PASS pathElement.createSVGPathSegCurvetoQuadraticAbs(1, 2, 3, 4).x is 1
63 PASS pathElement.createSVGPathSegCurvetoQuadraticAbs(1, 2, 3, 4).y is 2
64 PASS pathElement.createSVGPathSegCurvetoQuadraticAbs(1, 2, 3, 4).x1 is 3
65 PASS pathElement.createSVGPathSegCurvetoQuadraticAbs(1, 2, 3, 4).y1 is 4
66 PASS pathElement.createSVGPathSegCurvetoQuadraticRel(1, 2, 3, 4).pathSegType is SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL
67 PASS pathElement.createSVGPathSegCurvetoQuadraticRel(1, 2, 3, 4).pathSegTypeAsLe tter is 'q'
68 PASS pathElement.createSVGPathSegCurvetoQuadraticRel(1, 2, 3, 4).x is 1
69 PASS pathElement.createSVGPathSegCurvetoQuadraticRel(1, 2, 3, 4).y is 2
70 PASS pathElement.createSVGPathSegCurvetoQuadraticRel(1, 2, 3, 4).x1 is 3
71 PASS pathElement.createSVGPathSegCurvetoQuadraticRel(1, 2, 3, 4).y1 is 4
72 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, false).pathSegType is SVGPathSeg.PATHSEG_ARC_ABS
73 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, false).pathSegType AsLetter is 'A'
74 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, false).x is 1
75 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, false).y is 2
76 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, false).r1 is 3
77 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, false).r2 is 4
78 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, false).angle is 5
79 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, false).largeArcFla g is false
80 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, true, false).largeArcFlag is true
81 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, false).sweepFlag i s false
82 PASS pathElement.createSVGPathSegArcAbs(1, 2, 3, 4, 5, false, true).sweepFlag is true
83 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, false).pathSegType is SVGPathSeg.PATHSEG_ARC_REL
84 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, false).pathSegType AsLetter is 'a'
85 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, false).x is 1
86 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, false).y is 2
87 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, false).r1 is 3
88 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, false).r2 is 4
89 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, false).angle is 5
90 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, false).largeArcFla g is false
91 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, true, false).largeArcFlag is true
92 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, false).sweepFlag i s false
93 PASS pathElement.createSVGPathSegArcRel(1, 2, 3, 4, 5, false, true).sweepFlag is true
94 PASS pathElement.createSVGPathSegLinetoHorizontalAbs(1).pathSegType is SVGPathSe g.PATHSEG_LINETO_HORIZONTAL_ABS
95 PASS pathElement.createSVGPathSegLinetoHorizontalAbs(1).pathSegTypeAsLetter is ' H'
96 PASS pathElement.createSVGPathSegLinetoHorizontalAbs(1).x is 1
97 PASS pathElement.createSVGPathSegLinetoHorizontalRel(1).pathSegType is SVGPathSe g.PATHSEG_LINETO_HORIZONTAL_REL
98 PASS pathElement.createSVGPathSegLinetoHorizontalRel(1).pathSegTypeAsLetter is ' h'
99 PASS pathElement.createSVGPathSegLinetoHorizontalRel(1).x is 1
100 PASS pathElement.createSVGPathSegLinetoVerticalAbs(1).pathSegType is SVGPathSeg. PATHSEG_LINETO_VERTICAL_ABS
101 PASS pathElement.createSVGPathSegLinetoVerticalAbs(1).pathSegTypeAsLetter is 'V'
102 PASS pathElement.createSVGPathSegLinetoVerticalAbs(1).y is 1
103 PASS pathElement.createSVGPathSegLinetoVerticalRel(1).pathSegType is SVGPathSeg. PATHSEG_LINETO_VERTICAL_REL
104 PASS pathElement.createSVGPathSegLinetoVerticalRel(1).pathSegTypeAsLetter is 'v'
105 PASS pathElement.createSVGPathSegLinetoVerticalRel(1).y is 1
106 PASS pathElement.createSVGPathSegCurvetoCubicSmoothAbs(1, 2, 3, 4).pathSegType i s SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS
107 PASS pathElement.createSVGPathSegCurvetoCubicSmoothAbs(1, 2, 3, 4).pathSegTypeAs Letter is 'S'
108 PASS pathElement.createSVGPathSegCurvetoCubicSmoothAbs(1, 2, 3, 4).x is 1
109 PASS pathElement.createSVGPathSegCurvetoCubicSmoothAbs(1, 2, 3, 4).y is 2
110 PASS pathElement.createSVGPathSegCurvetoCubicSmoothAbs(1, 2, 3, 4).x2 is 3
111 PASS pathElement.createSVGPathSegCurvetoCubicSmoothAbs(1, 2, 3, 4).y2 is 4
112 PASS pathElement.createSVGPathSegCurvetoCubicSmoothRel(1, 2, 3, 4).pathSegType i s SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL
113 PASS pathElement.createSVGPathSegCurvetoCubicSmoothRel(1, 2, 3, 4).pathSegTypeAs Letter is 's'
114 PASS pathElement.createSVGPathSegCurvetoCubicSmoothRel(1, 2, 3, 4).x is 1
115 PASS pathElement.createSVGPathSegCurvetoCubicSmoothRel(1, 2, 3, 4).y is 2
116 PASS pathElement.createSVGPathSegCurvetoCubicSmoothRel(1, 2, 3, 4).x2 is 3
117 PASS pathElement.createSVGPathSegCurvetoCubicSmoothRel(1, 2, 3, 4).y2 is 4
118 PASS pathElement.createSVGPathSegCurvetoQuadraticSmoothAbs(1, 2).pathSegType is SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS
119 PASS pathElement.createSVGPathSegCurvetoQuadraticSmoothAbs(1, 2).pathSegTypeAsLe tter is 'T'
120 PASS pathElement.createSVGPathSegCurvetoQuadraticSmoothAbs(1, 2).x is 1
121 PASS pathElement.createSVGPathSegCurvetoQuadraticSmoothAbs(1, 2).y is 2
122 PASS pathElement.createSVGPathSegCurvetoQuadraticSmoothRel(1, 2).pathSegType is SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL
123 PASS pathElement.createSVGPathSegCurvetoQuadraticSmoothRel(1, 2).pathSegTypeAsLe tter is 't'
124 PASS pathElement.createSVGPathSegCurvetoQuadraticSmoothRel(1, 2).x is 1
125 PASS pathElement.createSVGPathSegCurvetoQuadraticSmoothRel(1, 2).y is 2
126 PASS successfullyParsed is true
127
128 TEST COMPLETE
129
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698