Lines Matching refs:el
30 const el = paper.rect();
32 el.insertBefore(null);
34 equalNodePosition(assert, el.node, paper.canvas, paper.defs, null);
39 const el = paper.rect();
41 el.insertBefore(x);
43 equalNodePosition(assert, el.node, paper.canvas, paper.defs, x.node);
49 const el = paper.rect();
51 el.insertBefore(y);
53 equalNodePosition(assert, el.node, paper.canvas, x.node, y.node);
57 const el = paper.rect().attr('href', url),
58 anchor = el.node.parentNode;
60 el.insertBefore(null);
62 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, paper.defs, null);
67 const el = paper.rect().attr('href', url),
68 anchor = el.node.parentNode;
70 el.insertBefore(x);
72 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, paper.defs, x.node);
78 const el = paper.rect().attr('href', url),
79 anchor = el.node.parentNode;
81 el.insertBefore(x);
83 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, paper.defs, xAnchor);
89 const el = paper.rect().attr('href', url),
90 anchor = el.node.parentNode;
92 el.insertBefore(y);
94 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, x.node, y.node);
102 const el = paper.rect().attr('href', url),
103 anchor = el.node.parentNode;
105 el.insertBefore(y);
107 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, xAnchor, yAnchor);
118 const el = paper.rect();
120 el.insertAfter(null);
122 equalNodePosition(assert, el.node, paper.canvas, paper.defs, null);
127 const el = paper.rect();
129 el.insertAfter(x);
131 equalNodePosition(assert, el.node, paper.canvas, x.node, null);
137 const el = paper.rect();
139 el.insertAfter(x);
141 equalNodePosition(assert, el.node, paper.canvas, x.node, y.node);
145 const el = paper.rect().attr('href', url),
146 anchor = el.node.parentNode;
148 el.insertAfter(null);
150 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, paper.defs, null);
155 const el = paper.rect().attr('href', url),
156 anchor = el.node.parentNode;
158 el.insertAfter(x);
160 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, x.node, null);
166 const el = paper.rect().attr('href', url),
167 anchor = el.node.parentNode;
169 el.insertAfter(x);
171 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, xAnchor, null);
177 const el = paper.rect().attr('href', url),
178 anchor = el.node.parentNode;
180 el.insertAfter(x);
182 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, x.node, y.node);
190 const el = paper.rect().attr('href', url),
191 anchor = el.node.parentNode;
193 el.insertAfter(x);
195 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, xAnchor, yAnchor);
206 const el = paper.rect(),
207 node = el.node;
209 el.remove();
211 assert.equal(el.node, null);
216 const el = paper.rect().attr('href', url),
217 node = el.node,
220 el.remove();
222 assert.equal(el.node, null);
228 const el = paper.rect(),
229 node = el.node;
231 el.remove();
232 el.remove();
234 assert.equal(el.node, null);
239 const el = paper.rect(),
240 node = el.node;
243 el.remove();
245 assert.equal(el.node, null);
253 const el = paper.rect();
256 el.toFront();
258 equalNodePosition(assert, el.node, paper.canvas, x.node, null);
262 const el = paper.rect().attr('href', url),
263 anchor = el.node.parentNode;
266 el.toFront();
268 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, x.node, null);
276 const el = paper.rect();
278 el.toBack();
280 equalNodePosition(assert, el.node, paper.canvas, null, paper.desc);
286 const el = paper.rect().attr('href', url),
287 anchor = el.node.parentNode;
289 el.toBack();
291 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, null, paper.desc);