Lines Matching refs:doc

201     var doc = FBL.Env.browser.document;
202 var body = doc.getElementsByTagName("body")[0];
206 calculatePixelsPerInch(doc, body);
322 var doc = document;
325 var script = doc.getElementById("FirebugLite");
347 for(var i=0, s=doc.getElementsByTagName("script"), si; si=s[i]; i++)
711 this.createStyleSheet = function(doc, url) argument
727 this.addStyleSheet = function(doc, style) argument
729 var heads = doc.getElementsByTagName("head");
733 doc.documentElement.appendChild(style);
736 this.appendStylesheet = function(doc, uri) argument
739 if (this.$(uri, doc))
742 var styleSheet = this.createStyleSheet(doc, uri);
744 this.addStyleSheet(doc, styleSheet);
747 this.addScript = function(doc, id, src) argument
749 var element = doc.createElementNS("http://www.w3.org/1999/xhtml", "html:script");
756 if (doc.documentElement)
757 doc.documentElement.appendChild(element);
762 FBTrace.sysout("lib.addScript doc has no documentElement:", doc);
2133 this.$ = function(id, doc) argument
2135 if (doc)
2136 return doc.getElementById(id);
2143 this.$$ = function(selector, doc) argument
2145 if (doc || !FBL.Firebug.chrome)
2146 return FBL.Firebug.Selector(selector, doc);
2244 this.getBody = function(doc) argument
2246 if (doc.body)
2247 return doc.body;
2249 var body = doc.getElementsByTagName("body")[0];
2253 return doc.firstChild; // For non-HTML docs
2380 var doc = element.ownerDocument;
2383 if (doc.createRange)
2385 var range = doc.createRange(); // a helper object
2394 if (!appendFragment || appendFragment.ownerDocument != doc)
2395 appendFragment = doc.createDocumentFragment();
2397 var div = doc.createElement("div");
2419 var doc = properties.document || FBL.Firebug.chrome.document;
2421 var element = doc.createElement(tagName);
2437 var doc = FBL.Env.browser.document;
2439 var element = this.NS && doc.createElementNS ?
2440 doc.createElementNS(FBL.NS, tagName) :
2441 doc.createElement(tagName);
2606 var doc = this.Firebug.browser.document;
2609 this.addEvent(doc, name, handler);
2629 var doc = this.Firebug.browser.document;
2632 this.removeEvent(doc, name, handler);
2946 var doc = win.document;
2947 if (!doc)
2951 if ((doc.styleSheets.length && doc.styleSheets[0].href
2953 || (doc.styleSheets.length > 1 && doc.styleSheets[1].href
3664 var doc = Firebug.chrome.document;
3665 var frame = doc.createElement("iframe");
3671 doc.body.appendChild(frame);
6027 var fixIE6BackgroundImageCache = function(doc) argument
6029 doc = doc || document;
6032 doc.execCommand("BackgroundImageCache", false, true);
6045 var calculatePixelsPerInch = function calculatePixelsPerInch(doc, body) argument
6755 create: function(context, doc) argument
6991 reattach: function(doc) argument
9620 doc = isChromeFrame ? node.contentWindow.document : node.document;
9622 doc.write(tpl);
9623 doc.close();
9704 var doc = chrome.document;
9705 var script = doc.createElement("script");
9707 doc.getElementsByTagName("head")[0].appendChild(script);
11033 var doc = this.document;
11034 var offset = isIE ? doc.body.clientTop || doc.documentElement.clientTop: 0;
11041 var bodyStyle = doc.body.currentStyle;
11080 var doc = FirebugChrome.chromeMap.frame.document;
11082 var mini = $("fbMiniChrome", doc);
11085 var miniIcon = $("fbMiniIcon", doc);
11089 var errors = $("fbMiniErrors", doc);
11111 [$("fbMiniIcon", doc), "click", onMiniIconClick]
11143 var doc = FirebugChrome.chromeMap.frame.document;
11145 var mini = $("fbMiniChrome", doc);
11249 var doc, head;
11253 … if (window.opener && !window.opener.FirebugOldBrowser && (doc = window.opener.document)/* &&
11817 doc = Firebug.context.document,
11837 if (doc.documentElement)
11838 doc.documentElement.appendChild(script);
12514 doc = win.document,
12567 } else if (doc.documentElement.addBehavior) {
12568 var storage = doc.createElement('div')
12577 doc.documentElement.appendChild(storage)
12581 doc.documentElement.removeChild(storage)
15115 var doc = before.ownerDocument;
15116 var div = doc.createElement("div");
15159 insertNode: function(args, doc, element, isAfter, self)
15172 var doc = element.ownerDocument; variable
15173 if (!womb || womb.ownerDocument != doc)
15174 womb = doc.createElement("div");
16350 getLocation: function(doc) argument
16352 return doc.location ? getFileName(doc.location.href) : "";
16365 browseObject: function(doc, context) argument
16367 openNewTab(doc.location.href);
16371 persistObject: function(doc, context) argument
16386 getTooltip: function(doc) argument
16388 return doc.location.href;
17771 Firebug.InlineEditor = function(doc) argument
17773 this.initializeInline(doc);
17824 initializeInline: function(doc) argument
17830 this.box = this.tag.append({}, doc.body, this);
17840 this.expander = this.expanderTag.replace({}, doc, this);
18584 var doc = panel.document;
18585 defaultEditor = new Firebug.InlineEditor(doc);
21536 FBTrace.sysout("xmlviewer.updateTabBody; XML response parsed", doc);
23728 initialize: function(doc) argument
23741 shutdown: function(doc) argument
24415 var doc = Firebug.chrome.document;
24430 var children = doc.createElement("div");
24437 var closeElement = doc.createElement("div");
25221 var doc = browser.document;
25222 if (!doc)
25228 addEvent(doc, "mouseover", browser.onInfoTipMouseMove);
25229 addEvent(doc, "mouseout", browser.onInfoTipMouseOut);
25230 addEvent(doc, "mousemove", browser.onInfoTipMouseMove);
25232 return browser.infoTip = this.tags.infoTipTag.append({}, getBody(doc));
25240 var doc = browser.document;
25244 removeEvent(doc, "mouseover", browser.onInfoTipMouseMove);
25245 removeEvent(doc, "mouseout", browser.onInfoTipMouseOut);
25246 removeEvent(doc, "mousemove", browser.onInfoTipMouseMove);
25742 CssAnalyzer.processAllStyleSheets = function(doc, styleSheetIterator) argument
25746 processAllStyleSheets(doc, styleSheetIterator);
25817 var processAllStyleSheets = function(doc, styleSheetIterator) argument
25823 var styleSheets = doc.styleSheets;
25854 styleSheetIterator(doc, styleSheet);
25880 styleSheetIterator(doc, importedStyleSheet);
25911 styleSheetIterator(doc, importedStyleSheet);
25924 var processStyleSheet = function(doc, styleSheet) argument
26036 var elements = Firebug.Selector(selector, doc);
26056 var loadExternalStylesheet = function(doc, styleSheetIterator, styleSheet) argument
26130 doc.styleSheets[doc.styleSheets.length-1].externalURL = url;
26143 FBL.processAllStyleSheets(doc, styleSheetIterator);
26375 this.getElementsByXPath = function(doc, xpath) argument
26380 var result = doc.evaluate(xpath, doc, null, XPathResult.ANY_TYPE, null);
26393 this.getRuleMatchingElements = function(rule, doc) argument
26397 return this.getElementsByXPath(doc, xpath);
27286 var doc = Firebug.browser.document;
27289 CssAnalyzer.processAllStyleSheets(doc, function(doc, styleSheet) argument
27292 var fileName = getFileName(styleSheet.href) || getFileName(doc.location.href);
28111 var doc = win.document;
28118 var doc = win.document;
28122 if (isAncestor(this.stateChangeEl, doc))
28360 function CSSEditor(doc) argument
28362 this.initializeInline(doc);
28475 function CSSRuleEditor(doc) argument
28477 this.initializeInline(doc);
28586 function StyleSheetEditor(doc) argument
28588 this.box = this.tag.replace({}, doc, this);
28862 var doc = Firebug.browser.document;
28863 var scripts = doc.getElementsByTagName("script");
28872 var fileName = getFileName(script.src) || getFileName(doc.location.href);
28997 var doc = Firebug.browser.document;
28998 var script = doc.getElementsByTagName("script")[index];
29000 var isExternal = url && url != doc.location.href;
29040 var doc = Firebug.browser.document;
29061 path = rePath.exec(doc.location.href)[1];