Lines Matching defs:node

453 this.clearNode=function(node){var nodeName=" "+node.nodeName.toLowerCase()+" ";
455 if(this.isIE&&ignoreTags.indexOf(nodeName)!=-1){this.eraseNode(node)
456 }else{node.innerHTML=""
458 this.eraseNode=function(node){while(node.lastChild){node.removeChild(node.lastChild)
685 var getElementType=this.getElementType=function(node){if(isElementXUL(node)){return"xul"
686 }else{if(isElementSVG(node)){return"svg"
687 }else{if(isElementMathML(node)){return"mathml"
688 }else{if(isElementXHTML(node)){return"xhtml"
689 }else{if(isElementHTML(node)){return"html"
691 var getElementSimpleType=this.getElementSimpleType=function(node){if(isElementSVG(node)){return"svg"
692 }else{if(isElementMathML(node)){return"mathml"
695 var isElementHTML=this.isElementHTML=function(node){return node.nodeName==node.nodeName.toUpperCase()
697 var isElementXHTML=this.isElementXHTML=function(node){return node.nodeName==node.nodeName.toLowerCase()
699 var isElementMathML=this.isElementMathML=function(node){return node.namespaceURI=="http://www.w3.org/1998/Math/MathML"
701 var isElementSVG=this.isElementSVG=function(node){return node.namespaceURI=="http://www.w3.org/2000/svg"
703 var isElementXUL=this.isElementXUL=function(node){return node instanceof XULElement
759 this.hasClass=function(node,name){if(arguments.length==2){return(" "+node.className+" ").indexOf(" "+name+" ")!=-1
760 }if(!node||node.nodeType!=1){return false
765 if(!re.exec(node.className)){return false
768 this.old_hasClass=function(node,name){if(!node||node.nodeType!=1){return false
773 if(!re.exec(node.className)){return false
776 this.setClass=function(node,name){if(node&&(" "+node.className+" ").indexOf(" "+name+" ")==-1){node.className+=" "+name
778 this.getClassValue=function(node,name){var re=new RegExp(name+"-([^ ]+)");
779 var m=re.exec(node.className);
782 this.removeClass=function(node,name){if(node&&node.className){var index=node.className.indexOf(name);
784 node.className=node.className.substr(0,index-1)+node.className.substr(index+size)
806 this.getChildByClass=function(node){for(var i=1;
809 var child=node.firstChild;
810 node=null;
813 child=child.nextSibling){if(this.hasClass(child,className)){node=child;
815 }}}return node
817 this.getAncestorByClass=function(node,className){for(var parent=node;
822 this.getElementsByClass=function(node,className){var result=[];
823 for(var child=node.firstChild;
828 this.getElementByClass=function(node,className){var args=cloneArray(arguments);
830 for(var child=node.firstChild;
839 this.isAncestor=function(node,potentialAncestor){for(var parent=node;
844 this.getNextElement=function(node){while(node&&node.nodeType!=1){node=node.nextSibling
845 }return node
847 this.getPreviousElement=function(node){while(node&&node.nodeType!=1){node=node.previousSibling
848 }return node
855 this.findNextDown=function(node,criteria){if(!node){return null
856 }for(var child=node.firstChild;
862 this.findPreviousUp=function(node,criteria){if(!node){return null
863 }for(var child=node.lastChild;
869 this.findNext=function(node,criteria,upOnly,maxRoot){if(!node){return null
870 }if(!upOnly){var next=this.findNextDown(node,criteria);
872 }}for(var sib=node.nextSibling;
877 }}if(node.parentNode&&node.parentNode!=maxRoot){return this.findNext(node.parentNode,criteria,true)
879 this.findPrevious=function(node,criteria,downOnly,maxRoot){if(!node){return null
880 }for(var sib=node.previousSibling;
885 }}if(!downOnly){var next=this.findPreviousUp(node,criteria);
887 }}if(node.parentNode&&node.parentNode!=maxRoot){if(criteria(node.parentNode)){return node.parentNode
888 }return this.findPrevious(node.parentNode,criteria,true)
890 this.getNextByClass=function(root,state){var iter=function iter(node){return node.nodeType==1&&FBL.hasClass(node,state)
894 this.getPreviousByClass=function(root,state){var iter=function iter(node){return node.nodeType==1&&FBL.hasClass(node,state)
1559 },getRepObject:function(node){var target=null;
1560 for(var child=node;
1565 }}}},getRepNode:function(node){for(var child=node;
2284 var chrome={},context=options.context||Env.browser,type=chrome.type=Env.Options.enablePersistent?"popup":options.type,isChromeFrame=type=="frame",useLocalSkin=Env.useLocalSkin,url=useLocalSkin?Env.Location.skin:"about:blank",body=context.document.getElementsByTagName("body")[0],formatNode=function(node){if(!Env.isDebugMode){node.firebugIgnore=true
2289 node.style.border="0";
2290 node.style.visibility="hidden";
2291 node.style.zIndex="2147483647";
2292 node.style.position=noFixedPosition?"absolute":"fixed";
2293 node.style.width="100%";
2294 node.style.left="0";
2295 node.style.bottom=noFixedPosition?"-1px":"0";
2296 node.style.height=height+"px"
2297 },createChromeDiv=function(){var node=chrome.node=createGlobalElement("div"),style=createGlobalElement("style"),css=FirebugChrome.Skin.CSS,rules=".fbBody *{margin:0;padding:0;font-size:11px;line-height:13px;color:inherit;}"+css+".fbBody #fbHSplitter{position:absolute !important;} .fbBody #fbHTML span{line-height:14px;} .fbBody .lineNo div{line-height:inherit !important;}";
2302 node.className="fbBody";
2303 node.style.overflow="hidden";
2304 node.innerHTML=getChromeDivTemplate();
2305 if(isIE){setTimeout(function(){node.firstChild.style.height="1px";
2306 node.firstChild.style.position="static"
2308 }formatNode(node);
2309 body.appendChild(node);
2316 }else{if(isChromeFrame){var node=chrome.node=createGlobalElement("iframe");
2317 node.setAttribute("src",url);
2318 node.setAttribute("frameBorder","0");
2319 formatNode(node);
2320 body.appendChild(node);
2321 node.id=options.id
2330 var options=["true,top=",popupTop,",left=",popupLeft,",height=",popupHeight,",width=",popupWidth,",resizable"].join(""),node=chrome.node=context.window.open(url,"popup",options);
2331 if(node){try{node.focus()
2336 }}}if(!useLocalSkin){var tpl=getChromeTemplate(!isChromeFrame),doc=isChromeFrame?node.contentWindow.document:node.document;
2339 }var win,waitDelay=useLocalSkin?isChromeFrame?200:300:100,waitForWindow=function(){if(isChromeFrame&&(win=node.contentWindow)&&node.contentWindow.document.getElementById("fbCommandLine")||!isChromeFrame&&(win=node.window)&&node.document&&node.document.getElementById("fbCommandLine")){chrome.window=win.window;
2347 if(/access/i.test(msg)){if(isChromeFrame){body.removeChild(node)
2348 }else{if(type=="popup"){node.close()
2400 append(ChromeBase,{node:null,type:null,document:null,window:null,sidePanelVisible:false,commandLineVisible:false,largeCommandLineVisible:false,inspectButton:null,create:function(){PanelBar.create.call(this);
2442 }else{var offsetLeft=isIE6?1:-4,chrome=Firebug.chrome,box=chrome.getElementBox(target),offset=chrome.type=="div"?chrome.getElementPosition(chrome.node):{top:0,left:0};
2562 }else{if(isOpera&&Firebug.chrome.type=="popup"&&Firebug.chrome.node.closed){var frame=FirebugChrome.chromeMap.frame;
2602 }}},getSize:function(){return this.type=="div"?{height:this.node.offsetHeight,width:this.node.offsetWidth}:this.getWindowSize()
2645 if(isFirefox){this.node.style.display="block"
2660 this.node.parentNode.removeChild(this.node);
2661 this.node=null;
2662 delete this.node
2678 }var node=this.node;
2679 node.style.visibility="hidden";
2681 }}else{node.style.display="block"
2685 node.style.visibility="visible";
2693 }var node=this.node;
2694 if(Firebug.showIconWhenHidden){node.style.visibility="hidden";
2698 node.style.visibility="visible"
2699 }else{node.style.display="none"
2709 var height=this.node.offsetHeight;
2711 this.node.style.top=maxHeight-height+scroll.top+"px";
2712 if((this.type=="frame"||this.type=="div")&&(bodyStyle.marginLeft||bodyStyle.marginRight)){this.node.style.width=size.width+"px"
2727 }var node=this.node;
2728 node.style.height="27px";
2729 node.style.width=width+"px";
2730 node.style.left="";
2731 node.style.right=0;
2732 if(this.node.nodeName.toLowerCase()=="iframe"){node.setAttribute("allowTransparency","true");
2734 }else{node.style.background="transparent"
2739 },shutdown:function(){var node=this.node;
2740 node.style.height=Firebug.context.persistedState.height+"px";
2741 node.style.width="100%";
2742 node.style.left=0;
2743 node.style.right="";
2744 if(this.node.nodeName.toLowerCase()=="iframe"){node.setAttribute("allowTransparency","false");
2746 }else{node.style.background="#fff"
2776 this.node.close()
2861 var chromeNode=Firebug.chrome.node;
3329 }}}},CHILD:function(elem,match){var type=match[1],node=elem;
3330 switch(type){case"only":case"first":while((node=node.previousSibling)){if(node.nodeType===1){return false
3332 }node=elem;
3333 case"last":while((node=node.nextSibling)){if(node.nodeType===1){return false
3339 for(node=parent.firstChild;
3340 node;
3341 node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count
3404 Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");
3405 return elem.nodeType===1&&node&&node.nodeValue===match
3520 if(Firebug.chrome.type=="popup"){Firebug.chrome.node.focus()
3893 }function __link__(node,tag,args){if(!tag||!tag.tag){return
3895 var domArgs=[node,tag.tag.context,0];
3924 blocks.push('addEvent(node, "',this.listeners[i],'", __bind__(this, ',arg,"), false);")
3927 blocks.push("node.",name," = ",arg,";")
3930 },generateNodePath:function(path,blocks){blocks.push("var node = __path__(root, o");
3968 blocks.push(embedName+" = __link__(node, ",valueName,", ",argsName,");");
4117 if(before.tagName=="TR"){var node=firstRow.parentNode.firstChild;
4119 node&&node!=firstRow;
4120 node=node.nextSibling){++offset
4509 if(hasClass(target,"opened")){if(target.stackTrace){var node=FirebugReps.StackTrace.tag.append({object:target.stackTrace},traceBox)
5258 var node=this.sourceTag.replace({},tbody);
5259 var sourceNode=$$(".source",node)[0];
5718 }function logText(text,row){var node=row.ownerDocument.createTextNode(text);
5719 row.appendChild(node)
5848 function findRow(node){return getAncestorByClass(node,"logRow")
6395 }for(var n=0,node;
6396 node=nodeArray[n];
6397 n++){if(node.nodeType==1){if(Firebug.ignoreFirebugElements&&node.firebugIgnore){continue
6398 }var uid=ElementCache(node);
6399 var child=node.childNodes;
6401 var nodeName=node.nodeName.toLowerCase();
6402 var nodeVisible=isVisible(node);
6403 var hasSingleTextChild=childLength==1&&node.firstChild.nodeType==3&&nodeName!="script"&&nodeName!="style";
6409 i<node.attributes.length;
6410 ++i){var attr=node.attributes[i];
6413 var value=name=="style"?formatStyles(node.style.cssText):attr.nodeValue;
6420 }}}else{if(node.nodeType==3){if(node.parentNode&&(node.parentNode.nodeName.toLowerCase()=="script"||node.parentNode.nodeName.toLowerCase()=="style")){var value=node.nodeValue.replace(reTrim,"");
6430 }else{var value=node.nodeValue.replace(reTrim,"");
6460 var node,stack=[];
6462 var node=ElementCache.get(id).parentNode;
6463 if(node){id=ElementCache(node)
6467 node=$(id);
6468 if(stack.length>0&&ElementCache.get(id).childNodes.length>0){this.appendTreeChildren(node)
6469 }}selectElement(node);
6470 if(fbPanel1){fbPanel1.scrollTop=Math.round(node.offsetTop-fbPanel1.clientHeight/2)
6494 addEvent(Firebug.chrome.node,"mouseout",Firebug.HTML.onListMouseMove)
6497 removeEvent(Firebug.chrome.node,"mouseout",Firebug.HTML.onListMouseMove);
6611 },appendNode:function(node,html){if(node.nodeType==1){var uid=ElementCache(node);
6613 html.push('<div class="objectBox-element"',uidString,'">',"<span ",cacheID,'="',uid,'" class="nodeBox">','&lt;<span class="nodeTag">',node.nodeName.toLowerCase(),"</span>");
6615 i<node.attributes.length;
6616 ++i){var attr=node.attributes[i];
6619 var value=name=="style"?node.style.cssText:attr.nodeValue;
6621 }if(node.firstChild){html.push('&gt;</div><div class="nodeChildren">');
6622 for(var child=node.firstChild;
6625 }html.push('</div><div class="objectBox-element">&lt;/<span class="nodeTag">',node.nodeName.toLowerCase(),"&gt;</span></span></div>")
6627 }}else{if(node.nodeType==3){var value=trim(node.nodeValue);
7395 }}else{function findRow(node){return node.nodeType==1?node:node.parentNode
8101 var getRowName=function getRowName(row){var node=row.firstChild;
8102 return node.textContent?node.textContent:node.innerText