Searched refs:firstChild (Results 1 - 25 of 37) sorted by relevance
12
| /yui3/src/event/tests/ |
| H A D | window-focus.js | 12 doc.body.insertBefore(input, doc.body.firstChild);
|
| /yui3/src/test/tests/ |
| H A D | bugs-tests.js | 24 document.body.appendChild(div.firstChild);
|
| /yui3/build/dom-create/ |
| H A D | dom-create-debug.js | 17 if (!div.firstChild || div.firstChild.tagName !== tag.toUpperCase()) { 165 while (node.firstChild) { 166 node.removeChild(node.firstChild); 202 return (node.firstChild && node.firstChild.nodeName === 'TBODY'); 237 frag.removeChild(frag.firstChild);
|
| /yui3/src/dom/js/ |
| H A D | dom-create.js | 15 if (!div.firstChild || div.firstChild.tagName !== tag.toUpperCase()) { 193 while (node.firstChild) { 194 node.removeChild(node.firstChild); 250 node = parent.firstChild; 272 return (node.firstChild && node.firstChild.nodeName === 'TBODY'); 307 frag.removeChild(frag.firstChild);
|
| H A D | selector-css2.js | 88 child = root.firstChild; 95 child = child.nextSibling || child.firstChild;
|
| H A D | dom-core.js | 241 while (node.firstChild) { 242 node.removeChild(node.firstChild);
|
| H A D | dom-screen.js | 271 body.insertBefore(testNode, body.firstChild);
|
| /yui3/src/node/tests/ |
| H A D | node-attrs-test.js | 40 'should return the firstChild': function() { 42 Assert.areEqual(element.firstChild, this._testNode.get('firstChild')._node); 45 'should return the nextSibling of the firstChild': function() { 48 Assert.areEqual(element.firstChild.nextSibling, 49 node.get('firstChild').get('nextSibling')._node); 52 'should return the nodeName of the nextSibling of the firstChild': function() { 55 Assert.areEqual(element.firstChild.nextSibling.nodeName, 56 node.get('firstChild.nextSibling.nodeName'));
|
| H A D | nodelist-test.js | 72 var firstChild = Y.one('body :first-child'), 74 Y.one('body').insertBefore(node, firstChild); 75 Assert.isFalse(firstChild._node === Y.one('body :first-child')._node);
|
| /yui3/build/editor-bidi/ |
| H A D | editor-bidi-debug.js | 132 var parent = node, divNode, firstChild; 151 firstChild = node; 156 firstChild.replace(divNode); 157 divNode.prepend(firstChild);
|
| /yui3/build/dom-base/ |
| H A D | dom-base-debug.js | 311 if (!div.firstChild || div.firstChild.tagName !== tag.toUpperCase()) { 489 while (node.firstChild) { 490 node.removeChild(node.firstChild); 546 node = parent.firstChild; 568 return (node.firstChild && node.firstChild.nodeName === 'TBODY'); 603 frag.removeChild(frag.firstChild);
|
| /yui3/src/editor/js/ |
| H A D | editor-bidi.js | 130 var parent = node, divNode, firstChild; 149 firstChild = node; 154 firstChild.replace(divNode); 155 divNode.prepend(firstChild);
|
| H A D | editor-selection.js | 56 if (ieNode.firstChild) { 57 ieNode = ieNode.firstChild; 60 if (ieNode.firstChild) { 61 ieNode = ieNode.firstChild; 324 d.replace(d.get('firstChild')); 382 firstChild = Y.one(wrapped[0]), i; 387 firstChild.replace(newChild); 388 newChild.prepend(firstChild); 799 if (node.get('firstChild').test('br')) { 800 node.get('firstChild') [all...] |
| /yui3/src/datatype/tests/ |
| H A D | xml-tests.js | 21 ASSERT.areSame("item", xmldoc.documentElement.firstChild.nodeName, "Incorrect node name.");
|
| /yui3/src/test/js/ |
| H A D | TestRunner.js | 53 * @property firstChild
55 this.firstChild = null;
106 if (this.firstChild === null){
107 this.firstChild = this.lastChild = node;
435 } else if (this._cur.firstChild) {
436 this._cur = this._cur.firstChild;
|
| /yui3/build/editor-selection/ |
| H A D | editor-selection-debug.js | 58 if (ieNode.firstChild) { 59 ieNode = ieNode.firstChild; 62 if (ieNode.firstChild) { 63 ieNode = ieNode.firstChild; 326 d.replace(d.get('firstChild')); 384 firstChild = Y.one(wrapped[0]), i; 389 firstChild.replace(newChild); 390 newChild.prepend(firstChild); 801 if (node.get('firstChild').test('br')) { 802 node.get('firstChild') [all...] |
| /yui3/src/dom/tests/ |
| H A D | dom-core-test.js | 341 node = root.firstChild, 834 fieldset = el.firstChild, 835 legend = fieldset.firstChild; 887 tbody = el.firstChild, 888 tr = el.firstChild.firstChild, 889 td = tr.firstChild; 963 Assert.areEqual('TD', el.firstChild.tagName); 964 Assert.areEqual('TD', el.firstChild.nextSibling.tagName, 'td 2'); 991 Assert.areEqual('OPTION', el.firstChild [all...] |
| /yui3/build/dom-core/ |
| H A D | dom-core-debug.js | 243 while (node.firstChild) { 244 node.removeChild(node.firstChild);
|
| /yui3/build/selector-css2/ |
| H A D | selector-css2-debug.js | 90 child = root.firstChild; 97 child = child.nextSibling || child.firstChild;
|
| /yui3/src/graphics/js/ |
| H A D | CanvasGraphic.js | 452 while(node.firstChild) 454 child = node.firstChild;
|
| H A D | SVGGraphic.js | 457 while(node.firstChild) 459 child = node.firstChild;
|
| H A D | VMLGraphic.js | 426 while(node.firstChild) 428 child = node.firstChild;
|
| /yui3/src/panel/docs/assets/vendor/prettify/ |
| H A D | prettify-min.js | 3 for(l=b.firstChild;l;l=l.nextSibling)H(l,f,i);if(b.firstChild||!/^(?:br|link|img)$/.test(o))f.push("</",o,">");break;case 3:case 4:f.push(y(b.nodeValue));break}}function O(b){function f(c){if(c.charAt(0)!=="\\")return c.charCodeAt(0);switch(c.charAt(1)){case "b":return 8;case "t":return 9;case "n":return 10;case "v":return 11;case "f":return 12;case "r":return 13;case "u":case "x":return parseInt(c.substring(2),16)||c.charCodeAt(1);case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":return parseInt(c.substring(1), 31 " "))}d=d}else{d=[];for(a=a.firstChild;a;a=a.nextSibling)H(a,d);d=d.join("")}d=d.replace(/(?:\r\n?|\n)$/,"");m={f:d,e:c,b:p};U(m);if(p=m.a){c=m.b;if("XMP"===c.tagName){d=document.createElement("PRE");for(a=0;a<c.attributes.length;++a){k=c.attributes[a];if(k.specified)if(k.name.toLowerCase()==="class")d.className=k.value;else d.setAttribute(k.name,k.value)}d.innerHTML=p;c.parentNode.replaceChild(d,c)}else c.innerHTML=p}}}}if(q<o.length)setTimeout(f,250);else b&&b()}for(var i=[document.getElementsByTagName("pre"),
|
| /yui3/build/test/ |
| H A D | test-debug.js | 832 * @property firstChild 834 this.firstChild = null; 885 if (this.firstChild === null){ 886 this.firstChild = this.lastChild = node; 1214 } else if (this._cur.firstChild) { 1215 this._cur = this._cur.firstChild;
|
| /yui3/src/charts/js/ |
| H A D | Axis.js | 1004 while(node.firstChild) 1006 child = node.firstChild;
|
Completed in 2067 milliseconds
12