Lines Matching refs:className

759 this.hasClass=function(node,name){if(arguments.length==2){return(" "+node.className+" ").indexOf(" "+name+" ")!=-1
765 if(!re.exec(node.className)){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
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)
786 this.toggleClass=function(elt,name){if((" "+elt.className+" ").indexOf(" "+name+" ")!=-1){this.removeClass(elt,name)
808 ++i){var className=arguments[i];
813 child=child.nextSibling){if(this.hasClass(child,className)){node=child;
817 this.getAncestorByClass=function(node,className){for(var parent=node;
819 parent=parent.parentNode){if(this.hasClass(parent,className)){return parent
822 this.getElementsByClass=function(node,className){var result=[];
825 child=child.nextSibling){if(this.hasClass(child,className)){result.push(child)
828 this.getElementByClass=function(node,className){var args=cloneArray(arguments);
928 if(FBL.isIE&&name=="class"){propname="className"
1261 this.instanceOf=function(object,className){if(!object||typeof object!="object"){return false
1263 if(className in win&&object instanceof win[className]){return true
1265 if(className in win){return object instanceof win[className]
1266 }}var cache=instanceCheckMap[className];
1336 domMemberMap.Node=["id","className","nodeType","tagName","nodeName","localName","prefix","namespaceURI","nodeValue","ownerDocument","parentNode","offsetParent","nextSibling","previousSibling","firstChild","lastChild","childNodes","attributes","dir","baseURI","textContent","innerHTML","addEventListener","removeEventListener","dispatchEvent","cloneNode","appendChild","insertBefore","replaceChild","removeChild","compareDocumentPosition","hasAttributes","hasChildNodes","lookupNamespaceURI","lookupPrefix","normalize","isDefaultNamespace","isEqualNode","isSameNode","isSupported","getFeature","getUserData","setUserData"];
1557 FBTrace.sysout("firebug.getRep reps["+i+"/"+reps.length+"]: Rep="+reps[i].className)
1626 var panelNode=this.panelNode=createElement("div",{id:panelId,className:"fbPanel"});
1629 var tabNode=this.tabNode=createElement("a",{id:panelId+"Tab",className:"fbTab fbHover",innerHTML:tabHTML});
1634 if(options.hasToolButtons){this.toolButtonsNode=createElement("span",{id:panelId+"Buttons",className:"fbToolbarButtons"});
1637 this.statusBarNode=createElement("span",{id:panelId+"StatusBar",className:"fbToolbarButtons fbStatusBar"});
1760 this.measureBox.className="measureBox"
1775 if(FBL.domplate){Firebug.Rep=domplate({className:"",inspectable:true,supportsObject:function(object,type){return false
1867 this.element=createElement("a",{className:this.baseClassName+" "+this.className+" fbHover",innerHTML:this.caption});
1871 Button.prototype=extend(Controller,{type:"normal",caption:"caption",title:null,className:"",baseClassName:"fbButton",pressedClassName:"fbBtnPressed",element:null,container:null,owner:null,state:null,display:null,destroy:function(){this.shutdown();
1908 var menuItemProps={"class":"$item.className",type:"$item.type",value:"$item.value",_command:"$item.command"};
1921 var className=item.className||"";
1922 className+="fbMenuOption fbHover ";
1923 if(type=="checkbox"){className+="fbMenuCheckBox ";
1925 }else{if(type=="radiobutton"){className+="fbMenuRadioButton ";
1927 }else{if(type=="group"){className+="fbMenuGroup ";
1929 }else{if(type=="shortcut"){className+="fbMenuShortcut ";
1931 }}}}if(item.checked){className+="fbMenuChecked "
1932 }else{if(item.selected){className+="fbMenuRadioSelected "
1933 }}if(item.disabled){className+="fbMenuDisabled "
1934 }item.className=className;
2302 node.className="fbBody";
2808 if(visible!=last){if(visible){fbBottom.className="";
2811 }fbBottom.className="hide"
2815 if(Firebug.chrome.sidePanelVisible!=last){fbPanelBox2.className=Firebug.chrome.sidePanelVisible?"":"hide";
2816 fbPanelBar2Box.className=Firebug.chrome.sidePanelVisible?"":"hide"
2835 }fbHSplitter.className="fbOnMovingHSplitter";
2874 }fbHSplitter.className="";
3231 var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href")
3270 i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").indexOf(match)>=0)){if(!inplace){result.push(elem)
3348 },CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1
3438 }div.lastChild.className="e";
3763 }else{if(name.indexOf("$")==0){var className=name.substr(1);
3765 }this.classes[className]=val
4182 var FirebugReps=FBL.ns(function(){with(FBL){var OBJECTBOX=this.OBJECTBOX=SPAN({"class":"objectBox objectBox-$className"});
4183 var OBJECTBLOCK=this.OBJECTBLOCK=DIV({"class":"objectBox objectBox-$className"});
4184 var OBJECTLINK=this.OBJECTLINK=isIE6?A({"class":"objectLink objectLink-$className a11yFocus",href:"javascript:void(0)",title:"$object|FBL.getElementXPath",_repObject:"$object"}):A({"class":"objectLink objectLink-$className a11yFocus",title:"$object|FBL.getElementXPath",_repObject:"$object"});
4185 this.Undefined=domplate(Firebug.Rep,{tag:OBJECTBOX("undefined"),className:"undefined",supportsObject:function(object,type){return type=="undefined"
4187 this.Null=domplate(Firebug.Rep,{tag:OBJECTBOX("null"),className:"null",supportsObject:function(object,type){return object==null
4189 this.Nada=domplate(Firebug.Rep,{tag:SPAN(""),className:"nada"});
4190 this.Number=domplate(Firebug.Rep,{tag:OBJECTBOX("$object"),className:"number",supportsObject:function(object,type){return type=="boolean"||type=="number"
4192 this.String=domplate(Firebug.Rep,{tag:OBJECTBOX(""$object""),shortTag:OBJECTBOX(""$object|cropString""),className:"string",supportsObject:function(object,type){return type=="string"
4194 this.Text=domplate(Firebug.Rep,{tag:OBJECTBOX("$object"),shortTag:OBJECTBOX("$object|cropString"),className:"text"});
4204 }},className:"function",supportsObject:function(object,type){return isFunction(object)
4264 },className:"object",supportsObject:function(object,type){return true
4290 },className:"array",supportsObject:function(object){return this.isArray(object)
4312 this.Except=domplate(Firebug.Rep,{tag:OBJECTBOX({_repObject:"$object"},"$object.message"),className:"exception",supportsObject:function(object){return object instanceof ErrorCopy
4317 },getSelectorClass:function(elt){return elt.className?"."+elt.className.split(" ")[0]:""
4365 },className:"element",supportsObject:function(object){return instanceOf(object,"Element")
4379 this.TextNode=domplate(Firebug.Rep,{tag:OBJECTLINK("<",SPAN({"class":"nodeTag"},"TextNode")," textContent="",SPAN({"class":"nodeValue"},"$object.textContent|cropString"),""",">"),className:"textNode",supportsObject:function(object){return object instanceof Text
4382 },className:"object",supportsObject:function(object){return instanceOf(object,"Document")
4393 },className:"object",supportsObject:function(object){return instanceOf(object,"CSSStyleSheet")
4403 }}},className:"object",supportsObject:function(object){return instanceOf(object,"Window")
4417 },className:"object",supportsObject:function(object){return instanceOf(object,"Event")||instanceOf(object,"EventCopy")
4429 },className:"sourceLink",supportsObject:function(object){return object instanceof SourceLink
4447 },className:"sourceFile",supportsObject:function(object){return object instanceof SourceFile
4467 },className:"stackFrame",supportsObject:function(object){return object instanceof StackFrame
4472 this.StackTrace=domplate(Firebug.Rep,{tag:FOR("frame","$object.frames focusRow",TAG(this.StackFrame.tag,{object:"$frame"})),className:"stackTrace",supportsObject:function(object){return object instanceof StackTrace
4517 }},className:"errorMessage",inspectable:false,supportsObject:function(object){return object instanceof ErrorMessage
4525 this.Assert=domplate(Firebug.Rep,{tag:DIV(DIV({"class":"errorTitle"}),DIV({"class":"assertDescription"})),className:"assert",inspectObject:function(error,context){var sourceLink=this.getSourceLink(error);
4540 this.nsIDOMHistory=domplate(Firebug.Rep,{tag:OBJECTBOX({onclick:"$showHistory"},OBJECTLINK("$object|summarizeHistory")),className:"nsIDOMHistory",summarizeHistory:function(history){try{var items=history.length;
4550 },className:"applicationCache",supportsObject:function(object,type){if(Ci.nsIDOMOfflineResourceList){return(object instanceof Ci.nsIDOMOfflineResourceList)
4554 },className:"Storage",supportsObject:function(object,type){return(object instanceof Storage)
4735 }this.originalClassName=this.box.className;
4736 var classNames=target.className.split(" ");
4765 },hide:function(){this.box.className=this.originalClassName;
5599 Firebug.ConsoleBase={log:function(object,context,className,rep,noThrottle,sourceLink){return this.logRow(appendObject,object,context,className,rep,sourceLink,noThrottle)
5600 },logFormatted:function(objects,context,className,noThrottle,sourceLink){return this.logRow(appendFormatted,objects,context,className,null,sourceLink,noThrottle)
5601 },openGroup:function(objects,context,className,rep,noThrottle,sourceLink,noPush){return this.logRow(appendOpenGroup,objects,context,className,rep,sourceLink,noThrottle)
5603 },logRow:function(appender,objects,context,className,rep,sourceLink,noThrottle,noRow){noThrottle=true;
5608 if(panel){var row=panel.append(appender,objects,className,rep,sourceLink,noRow);
5611 }else{consoleQueue.push([appender,objects,context,className,rep,sourceLink,noThrottle,noRow])
5613 }var args=[appender,objects,context,className,rep,sourceLink,true,noRow];
5686 }},logRow:function(appender,objects,context,className,rep,sourceLink,noThrottle,noRow){if(!context){context=FirebugContext
5690 Firebug.ConsoleListener={log:function(context,object,className,sourceLink){},logFormatted:function(context,objects,className,sourceLink){}};
5692 Firebug.ConsolePanel.prototype=extend(Firebug.Panel,{wasScrolledToBottom:false,messageCount:0,lastLogTime:0,groups:null,limit:null,append:function(appender,objects,className,rep,sourceLink,noRow){var container=this.getTopContainer();
5694 }else{var row=this.createRow("logRow",className);
5860 },createRow:function(rowName,className){var elt=this.document.createElement("div");
5861 elt.className=rowName+(className?" "+rowName+"-"+className:"");
6170 function logFormatted(args,className,linkToSource,noThrottle){var sourceLink=linkToSource?getStackLink():null;
6171 return Firebug.Console.logFormatted(args,context,className,noThrottle,sourceLink)
6439 control.className="nodeControl nodeMaximized";
6442 children.className="nodeChildren";
6447 closeElement.className="objectBox-element";
6453 control.className="nodeControl";
6512 var selectElement=function selectElement(e){if(e!=selectedElement){if(selectedElement){selectedElement.className="objectBox-element"
6513 }e.className=e.className+" selectedElement";
6538 }if(targ.className.indexOf("nodeControl")!=-1||targ.className=="nodeTag"){if(targ.className=="nodeTag"){var control=isIE?(targ.parentNode.previousSibling||targ):(targ.parentNode.previousSibling||targ);
6540 if(control.className.indexOf("nodeControl")==-1){return
6544 if(control.className.indexOf(" nodeMaximized")!=-1){FBL.Firebug.HTML.removeTreeChildren(treeNode)
6546 }}else{if(targ.className=="nodeValue"||targ.className=="nodeName"){}}};
6562 while(targ&&!found){if(!/\snodeBox\s|\sobjectBox-selector\s/.test(" "+targ.className+" ")){targ=targ.parentNode
6573 }if(!/\snodeBox\s|\sobjectBox-selector\s/.test(" "+targ.className+" ")){return
6609 }if(object.className){html.push('<span class="selectorClass">.',escapeHTML(object.className),"</span>")
8176 this.logFormatted=function(objects,className){var html=this.DBG_TIMESTAMP?[getTimestamp()," | "]:[];
8186 }}return this.logRow(html,className)
8188 this.logRow=function(message,className){var panel=this.getPanel();
8189 if(panel&&panel.panelNode){this.writeMessage(message,className)
8190 }else{this.messageQueue.push([message,className])
8193 this.writeMessage=function(message,className){var container=this.getPanel().containerNode;
8195 this.writeRow.call(this,message,className);
8201 this.writeRow=function(message,className){var row=this.getPanel().panelNode.ownerDocument.createElement("div");
8202 row.className="logRow"+(className?" logRow-"+className:"");