Lines Matching refs:style

247 }this.createStyleSheet=function(doc,url){var style=this.createElement("link");
248 style.setAttribute("charset","utf-8");
249 style.firebugIgnore=true;
250 style.setAttribute("rel","stylesheet");
251 style.setAttribute("type","text/css");
252 style.setAttribute("href",url);
253 return style
255 this.addStyleSheet=function(doc,style){var heads=doc.getElementsByTagName("head"); argument
256 if(heads.length){heads[0].appendChild(style)
257 }else{doc.documentElement.appendChild(style)
273 this.getStyle=this.isIE?function(el,name){return el.currentStyle[name]||el.style[name]||undefined
274 }:function(el,name){return el.ownerDocument.defaultView.getComputedStyle(el,null)[name]||el.style[n…
440 this.hide=function(elt,hidden){elt.style.visibility=hidden?"hidden":"visible"
484 }else{if(p.localName=="BODY"){var style=view.getComputedStyle(elt,"");
485 coords.x+=parseInt(style.marginLeft);
486 coords.y+=parseInt(style.marginTop)
494 }}else{if(elt.localName=="BODY"){var style=view.getComputedStyle(elt,"");
495 coords.x+=parseInt(style.borderLeftWidth);
496 coords.y+=parseInt(style.borderTopWidth);
522 }var style=od.defaultView.getComputedStyle(od.body,null);
523 var pos=style.getPropertyValue("position");
524 if(pos==="absolute"||pos==="relative"){var borderLeft=parseInt(style.getPropertyValue("border-left-…
525 var borderTop=parseInt(style.getPropertyValue("border-top-width").replace("px",""),10)||0;
526 var paddingLeft=parseInt(style.getPropertyValue("padding-left").replace("px",""),10)||0;
527 var paddingTop=parseInt(style.getPropertyValue("padding-top").replace("px",""),10)||0;
528 var marginLeft=parseInt(style.getPropertyValue("margin-left").replace("px",""),10)||0;
529 var marginTop=parseInt(style.getPropertyValue("margin-top").replace("px",""),10)||0;
553 this.move=function(element,x,y){element.style.left=x+"px";
554 element.style.top=y+"px"
556 this.resize=function(element,w,h){element.style.width=w+"px";
557 element.style.height=h+"px"
621 this.copyTextStyles=function(fromNode,toNode,style){var view=this.isIE?fromNode.ownerDocument.paren… argument
622 if(view){if(!style){style=this.isIE?fromNode.currentStyle:view.getComputedStyle(fromNode,"")
623 }toNode.style.fontFamily=style.fontFamily;
624 toNode.style.fontSize=style.fontSize;
625 toNode.style.fontWeight=style.fontWeight;
626 toNode.style.fontStyle=style.fontStyle;
627 return style
629 this.copyBoxStyles=function(fromNode,toNode,style){var view=this.isIE?fromNode.ownerDocument.parent… argument
630 if(view){if(!style){style=this.isIE?fromNode.currentStyle:view.getComputedStyle(fromNode,"")
631 }toNode.style.marginTop=style.marginTop;
632 toNode.style.marginRight=style.marginRight;
633 toNode.style.marginBottom=style.marginBottom;
634 toNode.style.marginLeft=style.marginLeft;
635 toNode.style.borderTopWidth=style.borderTopWidth;
636 toNode.style.borderRightWidth=style.borderRightWidth;
637 toNode.style.borderBottomWidth=style.borderBottomWidth;
638 toNode.style.borderLeftWidth=style.borderLeftWidth;
639 return style
641 this.readBoxStyles=function(style){var styleNames={"margin-top":"marginTop","margin-right":"marginR… argument
643 for(var styleName in styleNames){styles[styleNames[styleName]]=parseInt(style.getPropertyCSSValue(s…
647 this.getBoxFromStyles=function(style,element){var args=this.readBoxStyles(style); argument
995 }else{e.style.cssText="user-select: none; -khtml-user-select: none; -moz-user-select: none;";
997 }}e.style.cursor="default"
1000 }else{e.style.cssText="cursor: default;";
1271 frame.style.display="none";
1352 …CRIPT:1,NOSCRIPT:1,BR:1,PARAM:1,COL:1,html:1,head:1,title:1,meta:1,link:1,style:1,script:1,noscrip…
1426 inch.style.cssText=resetStyle+"width:1in; height:1in; position:absolute; top:-1234px; left:-1234px;…
1610 this.tabNode.style.display="block";
1622 tabNode.style.display="block";
1649 this.tabNode.style.display="block";
1668 if(options.hasStatusBar){this.statusBarBox.style.display="inline";
1669 this.statusBarNode.style.display="inline"
1670 }if(options.hasToolButtons){this.toolButtonsNode.style.display="inline"
1671 }this.panelNode.style.display="block";
1675 if(options.hasStatusBar){this.statusBarBox.style.display="none";
1676 this.statusBarNode.style.display="none"
1677 }if(options.hasToolButtons){this.toolButtonsNode.style.display="none"
1678 }this.panelNode.style.display="none";
1759 },getBox:function(target){var style=this.measureBox.ownerDocument.defaultView.getComputedStyle(this…
1760 var box=getBoxFromStyles(style,this.measureBox);
1805 ownerPanel.sidePanelBarNode.style.display="none";
1819 },initialize:function(){if(this.ownerPanel){this.ownerPanel.sidePanelBarNode.style.display="inline"
1829 }if(this.ownerPanel){this.ownerPanel.sidePanelBarNode.style.display="none"
1935 this.elementStyle=this.element.style;
2188 cssValue=el.currentStyle[propName]||el.style[propName];
2202 box.style.cssText="margin:0; padding:1px; border: 0; visibility: hidden;";
2219 }div.style.cssText=divStyle;
2237 div.style.cssText=offscreenStyle+"width:"+value+"ex;";
2244 div.style.cssText=offscreenStyle+"width:"+value+"%;";
2249 },getStyle:isIE?function(el,name){return el.currentStyle[name]||el.style[name]||undefined
2250 }:function(el,name){return this.document.defaultView.getComputedStyle(el,null)[name]||el.style[name…
2278 node.style.border="0";
2279 node.style.visibility="hidden";
2280 node.style.zIndex="2147483647";
2281 node.style.position=noFixedPosition?"absolute":"fixed";
2282 node.style.width="100%";
2283 node.style.left="0";
2284 node.style.bottom=noFixedPosition?"-1px":"0";
2285 node.style.height=height+"px"
2286 },createChromeDiv=function(){var node=chrome.node=createGlobalElement("div"),style=createGlobalElem…
2287 style.type="text/css";
2288 if(style.styleSheet){style.styleSheet.cssText=rules
2289 }else{style.appendChild(context.document.createTextNode(rules))
2290 }document.getElementsByTagName("head")[0].appendChild(style);
2292 node.style.overflow="hidden";
2294 if(isIE){setTimeout(function(){node.firstChild.style.height="1px";
2295 node.firstChild.style.position="static"
2445 fbContentStyle=fbContent.style;
2450 fbPanelBox1Style=fbPanelBox1.style;
2452 fbPanelBox2Style=fbPanelBox2.style;
2454 fbPanelBar2BoxStyle=fbPanelBar2Box.style;
2457 fbVSplitterStyle=fbVSplitter.style;
2459 fbPanel1Style=fbPanel1.style;
2461 fbPanel2Style=fbPanel2.style;
2463 fbConsoleStyle=fbConsole.style;
2584 fbLargeCommandLine.style.height=heightValue-4+"px";
2585 fbLargeCommandLine.style.width=sideWidthValue-2+"px";
2587 fbLargeCommandButtons.style.width=sideWidth
2606 fbLargeCommandLine.style.display="block";
2607 fbLargeCommandButtons.style.display="block";
2618 fbLargeCommandLine.style.display="none";
2619 fbLargeCommandButtons.style.display="none";
2634 if(isFirefox){this.node.style.display="block"
2668 node.style.visibility="hidden";
2670 }}else{node.style.display="block"
2672 main.style.display="";
2674 node.style.visibility="visible";
2683 if(Firebug.showIconWhenHidden){node.style.visibility="hidden";
2685 main.style.display="none";
2687 node.style.visibility="visible"
2688 }else{node.style.display="none"
2700 this.node.style.top=maxHeight-height+scroll.top+"px";
2701 …is.type=="div")&&(bodyStyle.marginLeft||bodyStyle.marginRight)){this.node.style.width=size.width+"…
2710 mini.style.display="block";
2717 node.style.height="27px";
2718 node.style.width=width+"px";
2719 node.style.left="";
2720 node.style.right=0;
2722 this.document.body.style.backgroundColor="transparent"
2723 }else{node.style.background="transparent"
2729 node.style.height=Firebug.context.persistedState.height+"px";
2730 node.style.width="100%";
2731 node.style.left=0;
2732 node.style.right="";
2734 this.document.body.style.backgroundColor="#fff"
2735 }else{node.style.background="#fff"
2739 mini.style.display="none";
2834 if(frameElement.style.position!="fixed"){clientY-=Firebug.browser.getWindowScrollPosition().top
2856 chromeNode.style.height=chromeHeight+"px";
3499 fbInspectFrame.style.width=size.width+"px";
3500 fbInspectFrame.style.height=size.height+"px";
3510 }},onInspectingClick:function(e){fbInspectFrame.style.display="none";
3512 fbInspectFrame.style.display="block";
3518 },onInspecting:function(e){if(new Date().getTime()-lastInspecting>30){fbInspectFrame.style.display=…
3520 fbInspectFrame.style.display="block";
3559 var style;
3560 style=o.fbOutlineT.style;
3561 style.top=top-border+"px";
3562 style.left=left+"px";
3563 style.height=border+"px";
3564 style.width=width+"px";
3565 style=o.fbOutlineL.style;
3566 style.top=top-border+"px";
3567 style.left=left-border+"px";
3568 style.height=height+numVerticalBorders*border+"px";
3569 style.width=border+"px";
3570 style=o.fbOutlineB.style;
3571 if(freeVerticalSpace>0){style.top=top+height+"px";
3572 style.left=left+"px";
3573 style.width=width+"px"
3574 }else{style.top=-2*border+"px";
3575 style.left=-2*border+"px";
3576 style.width=border+"px"
3577 }style=o.fbOutlineR.style;
3578 if(freeHorizontalSpace>0){style.top=top-border+"px";
3579 style.left=left+width+"px";
3580 style.height=height+numVerticalBorders*border+"px";
3581 style.width=(freeHorizontalSpace<border?freeHorizontalSpace:border)+"px"
3582 }else{style.top=-2*border+"px";
3583 style.left=-2*border+"px";
3584 style.height=border+"px";
3585 style.width=border+"px"
3655 fbInspectFrame.style.cssText=inspectFrameStyle;
3664 el.style.cssText=inspectStyle+outlineStyle[outline[name]];
3673 boxModelStyle=boxModel.style;
3677 boxMarginStyle=boxMargin.style;
3682 boxBorderStyle=boxBorder.style;
3687 boxPaddingStyle=boxPadding.style;
3692 boxContentStyle=boxContent.style;
4323 …"style"){attrs.push({nodeName:attr.nodeName,nodeValue:attr.nodeValue||elt.style.cssText.replace(/(…
4711 if(isIElt8){this.input.style.top="-8px"
4737 }parent.style.height=yDiff+"px";
4738 parent.parentNode.style.height=yDiff+"px"
4743 }if(isIE){this.input.style.fontFamily="Monospace";
4744 this.input.style.fontSize="11px"
4749 }this.box.style.display="block";
4820 },updateLayout:function(initial,forceAll,extraWidth){if(this.fixedWidth){this.box.style.left=(this.…
4821 this.box.style.top=(this.targetOffset.y)+"px";
4824 this.input.style.width=w+"px";
4825 this.input.style.height=(h-3)+"px"
4826 }else{if(initial||forceAll){this.box.style.left=this.targetOffset.x+"px";
4827 this.box.style.top=this.targetOffset.y+"px"
4831 if(wrapped){var style=isIE?this.target.currentStyle:this.target.ownerDocument.defaultView.getComput…
4832 targetMargin=parseInt(style.marginLeft)+parseInt(style.marginRight);
4834 this.input.style.width="100%";
4835 this.box.style.width=approxTextWidth+"px"
4840 this.box.style.width=(inputWidth+xDiff)+"px"
4841 }else{this.box.style.width="auto"
4843 this.box.style.width=(inputWidth+xDiff)+"px"
4844 }this.input.style.width=inputWidth+"px"
4845 }this.expander.style.width=approxTextWidth+"px";
4846 this.expander.style.height=Math.max(this.textSize.height-3,0)+"px"
5210 if(isIE){responseTextBox.style.whiteSpace="nowrap"
5326 …D(SPAN({"class":"netLimitLabel"},$STRP("plural.Limit_Exceeded",[0]))),TD({style:"width:100%"}),TD(…
6402 var value=name=="style"?formatStyles(node.style.cssText):attr.nodeValue;
6463 this.panelNode.style.padding="4px 3px 1px 15px";
6464 this.panelNode.style.minWidth="500px";
6503 if(FBL.isFirefox){e.style.MozBorderRadius="2px"
6504 }else{if(FBL.isSafari){e.style.WebkitBorderRadius="2px"
6505 }}e.style.borderRadius="2px";
6608 var value=name=="style"?node.style.cssText:attr.nodeValue;
6629 …infoTip",tags:domplate({infoTipTag:DIV({"class":"infoTip"}),colorTag:DIV({style:"background: $rgbV…
6639 bgImg.style.background="url("+img.src+") repeat-x";
6640 bgImg.style.width=maxWidth+"px";
6641 if(h>maxHeight){bgImg.style.height=maxHeight+"px"
6642 }else{bgImg.style.height=h+"px"
6645 bgImg.style.background="url("+img.src+") repeat-y";
6646 bgImg.style.height=maxHeight+"px";
6647 if(w>maxWidth){bgImg.style.width=maxWidth+"px"
6648 }else{bgImg.style.width=w+"px"
6651 bgImg.style.background="url("+img.src+") repeat";
6652 bgImg.style.width=maxWidth+"px";
6653 bgImg.style.height=maxHeight+"px"
6654 }else{if(w>maxWidth||h>maxHeight){if(w>h){img.style.width=maxWidth+"px";
6655 img.style.height=Math.round((h/w)*maxWidth)+"px"
6656 }else{img.style.width=Math.round((w/h)*maxHeight)+"px";
6657 img.style.height=maxHeight+"px"
6684 if(x+infoTip.offsetWidth+infoTipMargin>panelWidth){infoTip.style.left=Math.max(0,panelWidth-(infoTi…
6685 infoTip.style.right="auto"
6686 }else{infoTip.style.left=(x+infoTipMargin)+"px";
6687 infoTip.style.right="auto"
6688 }if(y+infoTip.offsetHeight+infoTipMargin>panelHeight){infoTip.style.top=Math.max(0,panelHeight-(inf…
6689 infoTip.style.bottom="auto"
6690 }else{infoTip.style.top=(y+infoTipMargin)+"px";
6691 infoTip.style.bottom="auto"
6692 …howInfoTip; top: "+infoTip.style.top+", left: "+infoTip.style.left+", bottom: "+infoTip.style.bott…
6809 …yleSheetWarning=domplate(Firebug.Rep,{tag:DIV({"class":"warning focusRow",style:"font-weight:norma…
6898 …(selector):0,rule:rule,lineNo:lineNo,selector:selector,cssText:rule.style?rule.style.cssText:rule.…
6925 }var style=createGlobalElement("style");
6926 style.setAttribute("charset","utf-8");
6927 style.setAttribute("type","text/css");
6928 style.innerHTML=source;
6929 oldStyle.parentNode.insertBefore(style,oldStyle.nextSibling);
7087 },setProperty:function(rule,propName,propValue,propPriority){var style=rule.style||rule;
7088 var baseText=style.cssText;
7089 if(style.getPropertyValue){var prevValue=style.getPropertyValue(propName);
7090 var prevPriority=style.getPropertyPriority(propName);
7091 style.removeProperty(propName);
7092 style.setProperty(propName,propValue,propPriority)
7093 }else{style[toCamelCase(propName)]=propValue
7094 }if(propName){dispatch(this.fbListeners,"onCSSSetProperty",[style,propName,propValue,propPriority,p…
7095 }},removeProperty:function(rule,propName,parent){var style=rule.style||rule;
7096 var baseText=style.cssText;
7097 if(style.getPropertyValue){var prevValue=style.getPropertyValue(propName);
7098 var prevPriority=style.getPropertyPriority(propName);
7099 style.removeProperty(propName)
7100 }else{style[toCamelCase(propName)]=""
7101 }if(propName){dispatch(this.fbListeners,"onCSSRemoveProperty",[style,propName,prevValue,prevPriorit…
7142 },parseCSSProps:function(style,inheritMode){var props=[]; argument
7143 if(Firebug.expandShorthandProps){var count=style.length-1,index=style.length;
7144 while(index--){var propName=style.item(count-index);
7145 this.addProperty(propName,style.getPropertyValue(propName),!!style.getPropertyPriority(propName),fa…
7146 }}else{var lines=style.cssText.match(/(?:[^;\(]*(?:\([^\)]*?\))?[^;\(]*)*;?/g);
7154 },getRuleProperties:function(context,rule,inheritMode){var props=this.parseCSSProps(rule.style,inhe…
7312 },getContextMenuItems:function(style,target){var items=[]; argument
7430 }}if(element.style){this.getStyleProperties(element,rules,usedProps,inheritMode)
7444 …ction(element,rules,usedProps,inheritMode){var props=this.parseCSSProps(element.style,inheritMode);
7486 var style=isIE?element.currentStyle:win.getComputedStyle(element,"");
7495 var propValue=style.getPropertyValue?style.getPropertyValue(propName):""+style[toCamelCase(propName…
7771 …,role:"presentation",level:"$member.level"},TD({"class":"memberLabelCell",style:"padding-left: $me…
7891 this.panelNode.style.padding="0 1px"
8008 this.panelNode.style.padding="0 1px"