Lines Matching refs:doc

83 var waitForDocument=function waitForDocument(){var doc=FBL.Env.browser.document;
84 var body=doc.getElementsByTagName("body")[0];
85 if(body){calculatePixelsPerInch(doc,body);
107 var doc=document;
108 var script=doc.getElementById("FirebugLite");
116 }}else{for(var i=0,s=doc.getElementsByTagName("script"),si;
247 }this.createStyleSheet=function(doc,url){var style=this.createElement("link"); argument
255 this.addStyleSheet=function(doc,style){var heads=doc.getElementsByTagName("head"); argument
257 }else{doc.documentElement.appendChild(style)
259 this.appendStylesheet=function(doc,uri){if(this.$(uri,doc)){return argument
260 }var styleSheet=this.createStyleSheet(doc,uri);
262 this.addStyleSheet(doc,styleSheet)
264 this.addScript=function(doc,id,src){var element=doc.createElementNS("http://www.w3.org/1999/xhtml",… argument
269 if(doc.documentElement){doc.documentElement.appendChild(element)
270 }else{if(FBTrace.DBG_ERRORS){FBTrace.sysout("lib.addScript doc has no documentElement:",doc)
789 this.$=function(id,doc){if(doc){return doc.getElementById(id) argument
792 this.$$=function(selector,doc){if(doc||!FBL.Firebug.chrome){return FBL.Firebug.Selector(selector,do… argument
839 this.getBody=function(doc){if(doc.body){return doc.body argument
840 }var body=doc.getElementsByTagName("body")[0];
842 }return doc.firstChild
892 var doc=element.ownerDocument;
893 if(doc.createRange){var range=doc.createRange();
898 }else{if(!appendFragment||appendFragment.ownerDocument!=doc){appendFragment=doc.createDocumentFragm…
899 }var div=doc.createElement("div");
908 var doc=properties.document||FBL.Firebug.chrome.document;
909 var element=doc.createElement(tagName);
914 var doc=FBL.Env.browser.document;
915 var element=this.NS&&doc.createElementNS?doc.createElementNS(FBL.NS,tagName):doc.createElement(tagN…
964 this.addGlobalEvent=function(name,handler){var doc=this.Firebug.browser.document;
966 this.addEvent(doc,name,handler);
972 this.removeGlobalEvent=function(name,handler){var doc=this.Firebug.browser.document;
974 this.removeEvent(doc,name,handler);
1061 this.isSystemPage=function(win){try{var doc=win.document;
1062 if(!doc){return false
1063 }if((doc.styleSheets.length&&doc.styleSheets[0].href=="chrome://global/content/xml/XMLPrettyPrint.c…
1268 var getDomMemberMap2=function(name){if(!domMemberMap2Sandbox){var doc=Firebug.chrome.document;
1269 var frame=doc.createElement("iframe");
1273 doc.body.appendChild(frame);
1421 var fixIE6BackgroundImageCache=function(doc){doc=doc||document; argument
1422 try{doc.execCommand("BackgroundImageCache",false,true)
1425 var calculatePixelsPerInch=function calculatePixelsPerInch(doc,body){var inch=FBL.createGlobalEleme… argument
1601 …editable:true,order:2147483647,statusSeparator:"<",create:function(context,doc){this.hasSidePanel=… argument
1665 }},reattach:function(doc){if(this.options.innerHTMLSync){this.synchronizeUI() argument
2325 }}}if(!useLocalSkin){var tpl=getChromeTemplate(!isChromeFrame),doc=isChromeFrame?node.contentWindow…
2326 doc.write(tpl);
2327 doc.close()
2347 }else{var doc=chrome.document;
2348 var script=doc.createElement("script");
2350 doc.getElementsByTagName("head")[0].appendChild(script)
2693 }},fixIEPosition:function(){var doc=this.document;
2694 var offset=isIE?doc.body.clientTop||doc.documentElement.clientTop:0;
2699 var bodyStyle=doc.body.currentStyle;
2708 var doc=FirebugChrome.chromeMap.frame.document;
2709 var mini=$("fbMiniChrome",doc);
2711 var miniIcon=$("fbMiniIcon",doc);
2714 var errors=$("fbMiniErrors",doc);
2725 }this.addController([$("fbMiniIcon",doc),"click",onMiniIconClick]);
2737 }var doc=FirebugChrome.chromeMap.frame.document;
2738 var mini=$("fbMiniChrome",doc);
2771 var waitMainWindow=function(){var doc,head;
2772 try{if(window.opener&&!window.opener.FirebugOldBrowser&&(doc=window.opener.document)){try{if(Env.is…
2939 },loadJSONP:function(url,callback){var script=createGlobalElement("script"),doc=Firebug.context.doc…
2945 if(doc.documentElement){doc.documentElement.appendChild(script)
3057 (function(){var store=(function(){var api={},win=window,doc=win.document,localStorageName="localSto…
3095 }else{if(doc.documentElement.addBehavior){var storage=doc.createElement("div");
3098 doc.documentElement.appendChild(storage);
3102 doc.documentElement.removeChild(storage);
4095 var doc=before.ownerDocument;
4096 var div=doc.createElement("div");
4117 },insertNode:function(args,doc,element,isAfter,self){if(!args){args={}
4121 var doc=element.ownerDocument; variable
4122 if(!womb||womb.ownerDocument!=doc){womb=doc.createElement("div")
4370 …ropValue"},"$object|getLocation")),getLocation:function(doc){return doc.location?getFileName(doc.l… argument
4372 },browseObject:function(doc,context){openNewTab(doc.location.href); argument
4374 },persistObject:function(doc,context){return this.persistor argument
4377 },getTooltip:function(doc){return doc.location.href argument
4697 }Firebug.InlineEditor=function(doc){this.initializeInline(doc) argument
4708 },initializeInline:function(doc){if(FBTrace.DBG_EDITOR){FBTrace.sysout("Firebug.InlineEditor initia… argument
4709 }this.box=this.tag.append({},doc.body,this);
4712 }this.expander=this.expanderTag.replace({},doc,this);
4946 var getDefaultEditor=function getDefaultEditor(panel){if(!defaultEditor){var doc=panel.document;
4947 defaultEditor=new Firebug.InlineEditor(doc)
5568 if(FBTrace.DBG_XMLVIEWER){FBTrace.sysout("xmlviewer.updateTabBody; XML response parsed",doc)
6225 ….Module,{element:null,isMultiLine:false,isActive:false,initialize:function(doc){this.clear=bind(th… argument
6232 },shutdown:function(doc){this.deactivate(); argument
6421 }}}}}},appendTreeChildren:function(treeNode){var doc=Firebug.chrome.document;
6430 var children=doc.createElement("div");
6435 var closeElement=doc.createElement("div");
6665 var doc=browser.document;
6666 if(!doc){return
6667 }addEvent(doc,"mouseover",browser.onInfoTipMouseMove);
6668 addEvent(doc,"mouseout",browser.onInfoTipMouseOut);
6669 addEvent(doc,"mousemove",browser.onInfoTipMouseMove);
6670 return browser.infoTip=this.tags.infoTipTag.append({},getBody(doc))
6671 },uninitializeBrowser:function(browser){if(browser.infoTip){var doc=browser.document;
6672 removeEvent(doc,"mouseover",browser.onInfoTipMouseMove);
6673 removeEvent(doc,"mouseout",browser.onInfoTipMouseOut);
6674 removeEvent(doc,"mousemove",browser.onInfoTipMouseMove);
6810 CssAnalyzer.processAllStyleSheets=function(doc,styleSheetIterator){try{processAllStyleSheets(doc,st… argument
6830 var processAllStyleSheets=function(doc,styleSheetIterator){styleSheetIterator=styleSheetIterator||p… argument
6832 var styleSheets=doc.styleSheets;
6844 }styleSheetIterator(doc,styleSheet);
6855 }styleSheetIterator(doc,importedStyleSheet)
6866 }styleSheetIterator(doc,importedStyleSheet)
6869 var processStyleSheet=function(doc,styleSheet){if(styleSheet.restricted){return argument
6899 var elements=Firebug.Selector(selector,doc);
6907 var loadExternalStylesheet=function(doc,styleSheetIterator,styleSheet){var url=styleSheet.href; argument
6931 doc.styleSheets[doc.styleSheets.length-1].externalURL=url;
6936 FBL.processAllStyleSheets(doc,styleSheetIterator);
7027 this.getElementsByXPath=function(doc,xpath){var nodes=[]; argument
7028 try{var result=doc.evaluate(xpath,doc,null,XPathResult.ANY_TYPE,null);
7034 this.getRuleMatchingElements=function(rule,doc){var css=rule.selectorText; argument
7036 return this.getElementsByXPath(doc,xpath)
7242 var doc=Firebug.browser.document;
7244 CssAnalyzer.processAllStyleSheets(doc,function(doc,styleSheet){var key=StyleSheetCache.key(styleShe… argument
7245 var fileName=getFileName(styleSheet.href)||getFileName(doc.location.href);
7454 }},ishow:function(state){},watchWindow:function(win){if(domUtils){var doc=win.document
7455 }},unwatchWindow:function(win){var doc=win.document;
7456 if(isAncestor(this.stateChangeEl,doc)){this.removeStateChangeHandlers()
7503 function CSSEditor(doc){this.initializeInline(doc) argument
7534 function CSSRuleEditor(doc){this.initializeInline(doc); argument
7577 function StyleSheetEditor(doc){this.box=this.tag.replace({},doc,this); argument
7662 var doc=Firebug.browser.document;
7663 var scripts=doc.getElementsByTagName("script");
7668 }var fileName=getFileName(script.src)||getFileName(doc.location.href);
7723 var doc=Firebug.browser.document;
7724 var script=doc.getElementsByTagName("script")[index];
7726 var isExternal=url&&url!=doc.location.href;
7739 var doc=Firebug.browser.document;
7748 path=rePath.exec(doc.location.href)[1];