Lines Matching refs:style

715     var style = this.createElement("link");
716 style.setAttribute("charset","utf-8");
717 style.firebugIgnore = true;
718 style.setAttribute("rel", "stylesheet");
719 style.setAttribute("type", "text/css");
720 style.setAttribute("href", url);
724 return style;
727 this.addStyleSheet = function(doc, style) argument
731 heads[0].appendChild(style);
733 doc.documentElement.appendChild(style);
773 return el.currentStyle[name] || el.style[name] || undefined;
779 || el.style[name] || undefined;
1257 elt.style.visibility = hidden ? "hidden" : "visible";
1379 var style = view.getComputedStyle(elt, "");
1380 coords.x += parseInt(style.marginLeft);
1381 coords.y += parseInt(style.marginTop);
1404 var style = view.getComputedStyle(elt, "");
1405 coords.x += parseInt(style.borderLeftWidth);
1406 coords.y += parseInt(style.borderTopWidth);
1465 var style = od.defaultView.getComputedStyle(od.body, null);
1467 var pos = style.getPropertyValue('position');
1470 … var borderLeft = parseInt(style.getPropertyValue('border-left-width').replace('px', ''),10) || 0;
1471 … var borderTop = parseInt(style.getPropertyValue('border-top-width').replace('px', ''),10) || 0;
1472 … var paddingLeft = parseInt(style.getPropertyValue('padding-left').replace('px', ''),10) || 0;
1473 var paddingTop = parseInt(style.getPropertyValue('padding-top').replace('px', ''),10) || 0;
1474 var marginLeft = parseInt(style.getPropertyValue('margin-left').replace('px', ''),10) || 0;
1475 var marginTop = parseInt(style.getPropertyValue('margin-top').replace('px', ''),10) || 0;
1527 element.style.left = x + "px";
1528 element.style.top = y + "px";
1533 element.style.width = w + "px";
1534 element.style.height = h + "px";
1696 this.copyTextStyles = function(fromNode, toNode, style) argument
1704 if (!style)
1705 style = this.isIE ? fromNode.currentStyle : view.getComputedStyle(fromNode, "");
1707 toNode.style.fontFamily = style.fontFamily;
1713 toNode.style.fontSize = style.fontSize;
1714 toNode.style.fontWeight = style.fontWeight;
1715 toNode.style.fontStyle = style.fontStyle;
1717 return style;
1721 this.copyBoxStyles = function(fromNode, toNode, style) argument
1729 if (!style)
1730 style = this.isIE ? fromNode.currentStyle : view.getComputedStyle(fromNode, "");
1732 toNode.style.marginTop = style.marginTop;
1733 toNode.style.marginRight = style.marginRight;
1734 toNode.style.marginBottom = style.marginBottom;
1735 toNode.style.marginLeft = style.marginLeft;
1736 toNode.style.borderTopWidth = style.borderTopWidth;
1737 toNode.style.borderRightWidth = style.borderRightWidth;
1738 toNode.style.borderBottomWidth = style.borderBottomWidth;
1739 toNode.style.borderLeftWidth = style.borderLeftWidth;
1741 return style;
1745 this.readBoxStyles = function(style) argument
1759 styles[styleNames[styleName]] = parseInt(style.getPropertyCSSValue(styleName).cssText) || 0;
1765 this.getBoxFromStyles = function(style, element) argument
1767 var args = this.readBoxStyles(style);
2708 e.style.cssText = "user-select: none; -khtml-user-select: none; -moz-user-select: none;";
2716 e.style.cursor = "default";
2726 e.style.cssText = "cursor: default;";
3668 frame.style.display = "none";
6048 …inch.style.cssText = resetStyle + "width:1in; height:1in; position:absolute; top:-1234px; left:-12…
6776 this.tabNode.style.display = "block";
6823 tabNode.style.display = "block";
6923 this.tabNode.style.display = "block";
7008 this.statusBarBox.style.display = "inline";
7009 this.statusBarNode.style.display = "inline";
7014 this.toolButtonsNode.style.display = "inline";
7017 this.panelNode.style.display = "block";
7031 this.statusBarBox.style.display = "none";
7032 this.statusBarNode.style.display = "none";
7037 this.toolButtonsNode.style.display = "none";
7040 this.panelNode.style.display = "none";
7474 var style = this.measureBox.ownerDocument.defaultView.getComputedStyle(this.measureBox, "");
7475 var box = getBoxFromStyles(style, this.measureBox);
7690 ownerPanel.sidePanelBarNode.style.display = "none";
7730 this.ownerPanel.sidePanelBarNode.style.display = "inline";
7761 this.ownerPanel.sidePanelBarNode.style.display = "none";
8207 this.elementStyle = this.element.style;
9044 cssValue = el.currentStyle[propName] || el.style[propName];
9087 box.style.cssText = "margin:0; padding:1px; border: 0; visibility: hidden;";
9123 div.style.cssText = divStyle;
9175 div.style.cssText = offscreenStyle + "width:"+value + "ex;";
9190 div.style.cssText = offscreenStyle + "width:"+value + "%;";
9203 return el.currentStyle[name] || el.style[name] || undefined;
9208 || el.style[name] || undefined;
9436 node.style.border = "0";
9437 node.style.visibility = "hidden";
9438 node.style.zIndex = "2147483647"; // MAX z-index = 2147483647
9439 node.style.position = noFixedPosition ? "absolute" : "fixed";
9440 node.style.width = "100%"; // "102%"; IE auto margin bug
9441 node.style.left = "0";
9442 node.style.bottom = noFixedPosition ? "-1px" : "0";
9443 node.style.height = height + "px";
9455 style = createGlobalElement("style"),
9476 style.type = "text/css";
9478 if (style.styleSheet)
9479 style.styleSheet.cssText = rules;
9481 style.appendChild(context.document.createTextNode(rules));
9483 document.getElementsByTagName("head")[0].appendChild(style);
9486 node.style.overflow = "hidden";
9493 node.firstChild.style.height = "1px";
9494 node.firstChild.style.position = "static";
10175 fbContentStyle = fbContent.style;
10182 fbPanelBox1Style = fbPanelBox1.style;
10184 fbPanelBox2Style = fbPanelBox2.style;
10186 fbPanelBar2BoxStyle = fbPanelBar2Box.style;
10190 fbVSplitterStyle = fbVSplitter.style;
10193 fbPanel1Style = fbPanel1.style;
10195 fbPanel2Style = fbPanel2.style;
10198 fbConsoleStyle = fbConsole.style;
10672 fbLargeCommandLine.style.height = heightValue - 4 + "px";
10673 fbLargeCommandLine.style.width = sideWidthValue - 2 + "px";
10676 fbLargeCommandButtons.style.width = sideWidth;
10746 fbLargeCommandLine.style.display = "block";
10747 fbLargeCommandButtons.style.display = "block";
10775 fbLargeCommandLine.style.display = "none";
10776 fbLargeCommandButtons.style.display = "none";
10844 this.node.style.display = "block";
10939 node.style.visibility = "hidden"; // Avoid flickering
10950 node.style.display = "block";
10956 main.style.display = "";
10960 node.style.visibility = "visible";
10995 node.style.visibility = "hidden"; // Avoid flickering
10999 main.style.display = "none";
11003 node.style.visibility = "visible";
11006 node.style.display = "none";
11043 this.node.style.top = maxHeight - height + scroll.top + "px";
11048 this.node.style.width = size.width + "px";
11083 mini.style.display = "block";
11094 node.style.height = "27px";
11095 node.style.width = width + "px";
11096 node.style.left = "";
11097 node.style.right = 0;
11102 this.document.body.style.backgroundColor = "transparent";
11105 node.style.background = "transparent";
11127 node.style.height = Firebug.context.persistedState.height + "px";
11128 node.style.width = "100%";
11129 node.style.left = 0;
11130 node.style.right = "";
11135 this.document.body.style.backgroundColor = "#fff";
11138 node.style.background = "#fff";
11146 mini.style.display = "none";
11443 if (frameElement.style.position != "fixed")
11507 chromeNode.style.height = chromeHeight + "px";
13716 fbInspectFrame.style.width = size.width + "px";
13717 fbInspectFrame.style.height = size.height + "px";
13743 fbInspectFrame.style.display = "none";
13745 fbInspectFrame.style.display = "block";
13763 fbInspectFrame.style.display = "none";
13765 fbInspectFrame.style.display = "block";
13870 var style;
13872 style = o.fbOutlineT.style;
13873 style.top = top-border + "px";
13874 style.left = left + "px";
13875 style.height = border + "px"; // TODO: on initialize()
13876 style.width = width + "px";
13878 style = o.fbOutlineL.style;
13879 style.top = top-border + "px";
13880 style.left = left-border + "px";
13881 style.height = height+ numVerticalBorders*border + "px";
13882 style.width = border + "px"; // TODO: on initialize()
13884 style = o.fbOutlineB.style;
13887 style.top = top+height + "px";
13888 style.left = left + "px";
13889 style.width = width + "px";
13894 style.top = -2*border + "px";
13895 style.left = -2*border + "px";
13896 style.width = border + "px";
13900 style = o.fbOutlineR.style;
13903 style.top = top-border + "px";
13904 style.left = left+width + "px";
13905 style.height = height + numVerticalBorders*border + "px";
13906 style.width = (freeHorizontalSpace < border ? freeHorizontalSpace : border) + "px";
13910 style.top = -2*border + "px";
13911 style.left = -2*border + "px";
13912 style.height = border + "px";
13913 style.width = border + "px";
14094 fbInspectFrame.style.cssText = inspectFrameStyle;
14114 el.style.cssText = inspectStyle + outlineStyle[outline[name]];
14133 boxModelStyle = boxModel.style;
14138 boxMarginStyle = boxMargin.style;
14144 boxBorderStyle = boxBorder.style;
14150 boxPaddingStyle = boxPadding.style;
14156 boxContentStyle = boxContent.style;
16149 elt.style.cssText.replace(/([^\s]+)\s*:/g,
17837 this.input.style.top = "-8px";
17919 parent.style.height = yDiff + "px";
17920 parent.parentNode.style.height = yDiff + "px";
17939 this.input.style.fontFamily = "Monospace";
17940 this.input.style.fontSize = "11px";
17957 this.box.style.display = "block";
18226 this.box.style.left = (this.targetOffset.x) + "px";
18227 this.box.style.top = (this.targetOffset.y) + "px";
18231 this.input.style.width = w + "px";
18232 this.input.style.height = (h-3) + "px";
18238 this.box.style.left = this.targetOffset.x + "px";
18239 this.box.style.top = this.targetOffset.y + "px";
18252 var style = isIE ?
18256 targetMargin = parseInt(style.marginLeft) + parseInt(style.marginRight);
18261 this.input.style.width = "100%";
18262 this.box.style.width = approxTextWidth + "px";
18283 this.box.style.width = (inputWidth + xDiff) + "px";
18286 this.box.style.width = "auto";
18292 this.box.style.width = (inputWidth + xDiff) + "px";
18295 this.input.style.width = inputWidth + "px";
18298 this.expander.style.width = approxTextWidth + "px";
18299 this.expander.style.height = Math.max(this.textSize.height-3,0) + "px";
19714 responseTextBox.style.whiteSpace = "nowrap";
20206 TD({style: "width:100%"}),
24306 var value = name == "style" ? formatStyles(node.style.cssText) : attr.nodeValue;
24530 this.panelNode.style.padding = "4px 3px 1px 15px";
24531 this.panelNode.style.minWidth = "500px";
24649 e.style.MozBorderRadius = "2px";
24652 e.style.WebkitBorderRadius = "2px";
24654 e.style.borderRadius = "2px";
24963 var value = name == "style" ? node.style.cssText : attr.nodeValue;
25043 DIV({style: "background: $rgbValue; width: 100px; height: 40px"}, "&nbsp;"),
25085 bgImg.style.background = "url(" + img.src + ") repeat-x";
25086 bgImg.style.width = maxWidth + "px";
25088 bgImg.style.height = maxHeight + "px";
25090 bgImg.style.height = h + "px";
25096 bgImg.style.background = "url(" + img.src + ") repeat-y";
25097 bgImg.style.height = maxHeight + "px";
25099 bgImg.style.width = maxWidth + "px";
25101 bgImg.style.width = w + "px";
25107 bgImg.style.background = "url(" + img.src + ") repeat";
25108 bgImg.style.width = maxWidth + "px";
25109 bgImg.style.height = maxHeight + "px";
25117 img.style.width = maxWidth + "px";
25118 img.style.height = Math.round((h / w) * maxWidth) + "px";
25122 img.style.width = Math.round((w / h) * maxHeight) + "px";
25123 img.style.height = maxHeight + "px";
25270 … infoTip.style.left = Math.max(0, panelWidth-(infoTip.offsetWidth+infoTipMargin)) + "px";
25271 infoTip.style.right = "auto";
25275 infoTip.style.left = (x+infoTipMargin) + "px";
25276 infoTip.style.right = "auto";
25281 … infoTip.style.top = Math.max(0, panelHeight-(infoTip.offsetHeight+infoTipMargin)) + "px";
25282 infoTip.style.bottom = "auto";
25286 infoTip.style.top = (y+infoTipMargin) + "px";
25287 infoTip.style.bottom = "auto";
25291 FBTrace.sysout("infotip.showInfoTip; top: " + infoTip.style.top +
25292 ", left: " + infoTip.style.left + ", bottom: " + infoTip.style.bottom +
25293 ", right:" + infoTip.style.right + ", offsetHeight: " + infoTip.offsetHeight +
25733 DIV({"class": "warning focusRow", style: "font-weight:normal;", role: 'listitem'},
26028 cssText: rule.style ? rule.style.cssText : rule.cssText ? rule.cssText : ""
26121 var style = createGlobalElement("style");
26122 style.setAttribute("charset","utf-8");
26123 style.setAttribute("type", "text/css");
26124 style.innerHTML = source;
26127 oldStyle.parentNode.insertBefore(style, oldStyle.nextSibling);
26710 var style = rule.style || rule;
26714 var baseText = style.cssText;
26717 if (style.getPropertyValue)
26719 var prevValue = style.getPropertyValue(propName);
26720 var prevPriority = style.getPropertyPriority(propName);
26724 style.removeProperty(propName);
26726 style.setProperty(propName, propValue, propPriority);
26733 style[toCamelCase(propName)] = propValue;
26737 …dispatch(this.fbListeners, "onCSSSetProperty", [style, propName, propValue, propPriority, prevValu…
26743 var style = rule.style || rule;
26747 var baseText = style.cssText;
26749 if (style.getPropertyValue)
26752 var prevValue = style.getPropertyValue(propName);
26753 var prevPriority = style.getPropertyPriority(propName);
26755 style.removeProperty(propName);
26759 style[toCamelCase(propName)] = "";
26763 …dispatch(this.fbListeners, "onCSSRemoveProperty", [style, propName, prevValue, prevPriority, rule,…
26974 parseCSSProps: function(style, inheritMode) argument
26980 var count = style.length-1,
26981 index = style.length;
26984 var propName = style.item(count - index);
26985 …this.addProperty(propName, style.getPropertyValue(propName), !!style.getPropertyPriority(propName)…
26990 var lines = style.cssText.match(/(?:[^;\(]*(?:\([^\)]*?\))?[^;\(]*)*;?/g);
27011 var props = this.parseCSSProps(rule.style, inheritMode);
27541 getContextMenuItems: function(style, target) argument
27977 if (element.style)
28059 var props = this.parseCSSProps(element.style, inheritMode);
28301 var style = isIE ?
28319 var propValue = style.getPropertyValue ?
28320 style.getPropertyValue(propName) :
28321 ""+style[toCamelCase(propName)];
29163 … TD({"class": "memberLabelCell", style: "padding-left: $member.indent\\px", role : 'presentation'},
29842 this.panelNode.style.padding = "0 1px";
30287 this.panelNode.style.padding = "0 1px";