Lines Matching refs:node

1242     var pathNode = path.node,
1945 var p = (el.node.ownerSVGElement && wrap(el.node.ownerSVGElement)) ||
1946 (el.node.parentNode && wrap(el.node.parentNode)) ||
1950 defs = pdefs == null ? false : pdefs.node;
1952 defs = make("defs", p.node).node;
1957 return el.node.ownerSVGElement && wrap(el.node.ownerSVGElement) || Snap.select("svg");
1962 var svg = getSomeSVG(el).node,
2088 node = this.node;
2093 node.appendChild(el.node);
2096 node.appendChild(list[i].node);
2099 var children = node.childNodes;
2109 node = el.node;
2110 …el.type != "svg" && !node.ownerSVGElement || el.type == "svg" && (!node.parentNode || "ownerSVGEle…
2135 this.node = el;
2189 node = el.node;
2191 if (node.nodeType != 1) {
2193 text: node.nodeValue
2196 var attr = node.attributes,
2251 this.node = frag;
2267 if (item.node && item.node.nodeType) {
2268 f.appendChild(item.node);
2274 f.appendChild(Snap.parse(item).node);
2302 res.node.appendChild(desc);
2306 res.node.appendChild(defs);
2315 $(res.node, {
2366 var el = make(name, this.node);
2379 ch = this.node.childNodes;
2423 …return this.node.ownerDocument.defaultView.getComputedStyle(this.node, null).getPropertyValue(css);
2425 return $(this.node, att);
2504 this.node.style[style] = value == null ? E : value;
2506 $(this.node, attr);
2697 return this.node.getBBox();
2712 … el = el.original = el.node.ownerDocument.getElementById(href.substring(href.indexOf("#") + 1));
2719 …xwt = pathfinder ? Snap.path.getBBox(el.realPath = pathfinder(el)) : Snap._.box(el.node.getBBox());
2739 tstr = el.node.getAttribute("gradientTransform");
2741 tstr = el.node.getAttribute("patternTransform");
2743 tstr = el.node.getAttribute("transform");
2791 global = new Snap.Matrix(this.node.getCTM()),
2825 if (this.node) {
2827 $(this.node, {gradientTransform: this.matrix});
2829 $(this.node, {patternTransform: this.matrix});
2831 $(this.node, {transform: this.matrix});
2846 return wrap(this.node.parentNode);
2873 this.node.appendChild(el.node);
2920 this.node.insertBefore(el.node, this.node.firstChild);
2956 it.node.parentNode.insertBefore(el.node, it.node);
2964 this.node.parentNode.insertBefore(el.node, this.node);
2982 if (this.node.nextSibling) {
2983 this.node.parentNode.insertBefore(el.node, this.node.nextSibling);
2985 this.node.parentNode.appendChild(el.node);
3004 el.node.parentNode.insertBefore(this.node, el.node);
3022 el.node.parentNode.insertBefore(this.node, el.node.nextSibling);
3037 this.node.parentNode && this.node.parentNode.removeChild(this.node);
3053 return wrap(this.node.querySelector(query));
3065 var nodelist = this.node.querySelectorAll(query),
3099 id = this.node.id;
3102 $(this.node, {
3108 use = make(this.type, this.node.parentNode);
3110 use = make("use", this.node.parentNode);
3112 $(use.node, {
3125 var val = $(it.node, name);
3137 $(it.node, attr);
3142 var val = $(it.node, "xlink:href");
3162 var oldid = $(it.node, "id");
3164 $(it.node, {id: it.id});
3189 var clone = wrap(this.node.cloneNode(true));
3190 if ($(clone.node, "id")) {
3191 $(clone.node, {id: clone.id});
3207 defs.appendChild(this.node);
3244 $(p.node, {
3253 p.node.appendChild(this.node);
3288 $(p.node, {
3297 p.node.appendChild(this.node);
3575 attr = this.node.attributes,
3576 chld = this.node.childNodes;
3966 if (value instanceof Fragment && value.node.childNodes.length == 1) {
3967 value = value.node.firstChild;
3975 mask.node.appendChild(value.node);
3977 !mask.node.id && $(mask.node, {
3980 $(this.node, {
3996 clip.node.appendChild(value.node);
3997 !clip.node.id && $(clip.node, {
4001 $(this.node, {
4002 "clip-path": URL(clip.node.id || clip.id)
4009 if (value instanceof Fragment && value.node.childNodes.length == 1 &&
4010 (value.node.firstChild.tagName == "radialGradient" ||
4011 value.node.firstChild.tagName == "linearGradient" ||
4012 value.node.firstChild.tagName == "pattern")) {
4013 value = value.node.firstChild;
4020 if (!value.node.id) {
4021 $(value.node, {
4025 var fill = URL(value.node.id);
4034 if (!grad.node.id) {
4035 $(grad.node, {
4039 fill = URL(grad.node.id);
4049 $(this.node, attrs);
4050 this.node.style[name] = E;
4098 $(this.node, {d: value});
4104 while (this.node.firstChild) {
4105 this.node.removeChild(this.node.firstChild);
4107 this.node.appendChild(txt);
4115 this.node.className.baseVal = value;
4126 $(this.node, {
4138 $(this.node, {
4147 var id, tp, node;
4150 while (tp.node.firstChild) {
4151 this.node.appendChild(tp.node.firstChild);
4160 defs.appendChild(path.node);
4175 node = this.node;
4182 while (node.firstChild) {
4183 tp.appendChild(node.firstChild);
4185 node.appendChild(tp);
4194 node = this.node,
4207 while (node.firstChild) {
4208 node.removeChild(node.firstChild);
4212 node.appendChild(tuned.firstChild);
4222 this.node.style.fontSize = value;
4241 …var style = glob.doc.defaultView.getComputedStyle(this.node, null).getPropertyValue("marker-" + en…
4254 this.node.style[name] = "none";
4258 var id = value.node.id;
4260 $(value.node, {id: value.id});
4262 this.node.style[name] = URL(id);
4281 if (this.type == "rect" && $(this.node, "rx") == $(this.node, "ry")) {
4283 return $(this.node, "rx");
4286 function textExtract(node) { argument
4288 var children = node.childNodes;
4307 var out = textExtract(this.node);
4312 return this.node.textContent;
4316 var vb = $(this.node, "viewBox");
4325 var p = $(this.node, "points");
4334 var p = $(this.node, "d");
4339 return this.node.className.baseVal;
4343 return this.node.style.fontSize;
4379 elem = this.node,
4414 elem = this.node,
4447 var elem = this.node,
4472 elem = this.node,
4726 Snap._.$(el.node, {
4732 Snap._.$(el.node, set);
5114 this.node.appendChild(stop);
5119 var x1 = $(this.node, "x1") || 0,
5120 x2 = $(this.node, "x2") || 1,
5121 y1 = $(this.node, "y1") || 0,
5122 y2 = $(this.node, "y2") || 0;
5125 var cx = this.node.cx || .5,
5126 cy = this.node.cy || .5,
5127 r = this.node.r || 0;
5144 $(el.node, {
5178 $(el.node, {
5193 $(el.node, {
5200 $(el.node, {
5261 var doc = this.node.ownerDocument,
5264 svg = this.node.cloneNode(true),
5292 var node = this.node.firstChild,
5294 while (node) {
5295 next = node.nextSibling;
5296 if (node.tagName != "defs") {
5297 node.parentNode.removeChild(node);
5299 proto.clear.call({node: node});
5301 node = next;
5834 var bbox = el.node.getBBox();
6478 if (this.node.getTotalLength) {
6479 return this.node.getTotalLength();
7301 doc = el && el.node ? el.node.ownerDocument : glob.doc;
7368 … if (touch.identifier == dragi.el._drag.id || dragi.el.node.contains(touch.target)) {
7378 var node = dragi.el.node,
7380 next = node.nextSibling,
7381 parent = node.parentNode,
7382 display = node.style.display;
7600 unbind: addEvent(this.node || document, eventName, fn, scope || this)
7791 width = paper.node.offsetWidth,
7792 height = paper.node.offsetHeight,
7798 filter.appendChild(f.node);
7805 var p = $(this.node, "filter");
7814 var id = value.node.id;
7816 $(value.node, {id: value.id});
7819 $(this.node, {
7825 this.node.removeAttribute("filter");