Lines Matching +defs:img +defs:src
122 if(script){scriptSrc=script.src;
132 }else{if(file=reFirebugFile.exec(si.src)){scriptSrc=si.src
141 var src=r?r[1]:scriptSrc;
142 var backDir=/^((?:\.\.\/)+)(.*)/.exec(src);
149 }else{if(src.indexOf("/")!=-1){if(/^\.\/./.test(src)){path+=src.substring(2)
150 }else{if(/^\/./.test(src)){var domain=/^(\w+:\/\/[^\/]+)/.exec(path);
151 path=domain[1]+src
152 }else{path+=src
275 this.addScript=function(doc,id,src){var element=doc.createElementNS("http://www.w3.org/1999/xhtml","html:script");
279 }element.innerHTML=src;
1276 var instanceCheckMap={Window:{property:["window","document"],method:"setTimeout"},Document:{property:["body","cookie"],method:"getElementById"},Node:{property:"ownerDocument",method:"appendChild"},Element:{property:"tagName",value:{nodeType:1}},Location:{property:["hostname","protocol"],method:"assign"},HTMLImageElement:{property:"useMap",value:{nodeType:1,tagName:"img"}},HTMLAnchorElement:{property:"hreflang",value:{nodeType:1,tagName:"a"}},HTMLInputElement:{property:"form",value:{nodeType:1,tagName:"input"}},HTMLButtonElement:{},HTMLFormElement:{method:"submit",value:{nodeType:1,tagName:"form"}},HTMLBodyElement:{},HTMLHtmlElement:{},CSSStyleRule:{property:["selectorText","style"]}};
1283 frame.src="about:blank";
1341 domMemberMap.HTMLImageElement=extendArray(domMemberMap.Element,["src","naturalWidth","naturalHeight","width","height","x","y","name","alt","longDesc","lowsrc","border","complete","hspace","vspace","isMap","useMap"]);
1343 domMemberMap.HTMLIFrameElement=extendArray(domMemberMap.Element,["contentDocument","contentWindow","frameBorder","height","longDesc","marginHeight","marginWidth","name","scrolling","src","width"]);
1347 domMemberMap.HTMLScriptElement=extendArray(domMemberMap.Element,["src"]);
1349 domMemberMap.HTMLInputElement=extendArray(domMemberMap.Element,["type","value","checked","accept","accessKey","alt","controllers","defaultChecked","defaultValue","disabled","form","maxLength","name","readOnly","selectionEnd","selectionStart","size","src","textLength","useMap","click","select","setSelectionRange"]);
1362 this.selfClosingTags={meta:1,link:1,area:1,base:1,col:1,input:1,img:1,br:1,hr:1,param:1,embed:1};
2317 node.setAttribute("src",url);
2360 script.src=Env.Location.app+"#remote,persist";
2955 script.src=jsonpURL;
4180 }}defineTags("a","button","br","canvas","code","col","colgroup","div","fieldset","form","h1","h2","h3","hr","img","input","label","legend","li","ol","optgroup","option","p","pre","select","span","strong","table","tbody","td","textarea","tfoot","th","thead","tr","tt","ul","iframe")
4320 if(elt instanceof HTMLImageElement){value=getFileName(elt.src)
4324 }else{if(elt instanceof HTMLScriptElement){value=getFileName(elt.src)
4367 if(tag=="script"){openNewTab(elt.src)
4370 }else{if(tag=="img"){openNewTab(elt.src)
4484 this.ErrorMessage=domplate(Firebug.Rep,{tag:OBJECTBOX({$hasTwisty:"$object|hasStackTrace",$hasBreakSwitch:"$object|hasBreakSwitch",$breakForError:"$object|hasErrorBreak",_repObject:"$object",_stackTrace:"$object|getLastErrorStackTrace",onclick:"$onToggleError"},DIV({"class":"errorTitle a11yFocus",role:"checkbox","aria-checked":"false"},"$object.message|getMessage"),DIV({"class":"errorTrace"}),DIV({"class":"errorSourceBox errorSource-$object|getSourceType"},IMG({"class":"errorBreak a11yFocus",src:"blank.gif",role:"checkbox","aria-checked":"false",title:"Break on this error"}),A({"class":"errorSource a11yFocus"},"$object|getLine")),TAG(this.SourceLink.tag,{object:"$object|getSourceLink"})),getLastErrorStackTrace:function(error){return error.trace
4710 Firebug.InlineEditor.prototype=domplate(Firebug.BaseEditor,{enterOnBlur:true,outerMargin:8,shadowExpand:7,tag:DIV({"class":"inlineEditor"},DIV({"class":"textEditorTop1"},DIV({"class":"textEditorTop2"})),DIV({"class":"textEditorInner1"},DIV({"class":"textEditorInner2"},INPUT(inlineEditorAttributes))),DIV({"class":"textEditorBottom1"},DIV({"class":"textEditorBottom2"}))),inputTag:INPUT({"class":"textEditorInner",type:"text",onkeypress:"$onKeyPress",onoverflow:"$onOverflow"}),expanderTag:IMG({"class":"inlineExpander",src:"blank.gif"}),initialize:function(){this.fixedWidth=false;
5204 var responseImage=netInfoBox.ownerDocument.createElement("img");
5205 responseImage.src=file.href;
6421 if(isIE){var src=value+"\n"
6422 }else{var src="\n"+value+"\n"
6423 }var match=src.match(/\n/g);
6429 }html.push('<div class="lineNo">',s.join(""),'</div><pre class="sourceCode">',escapeHTML(src),"</pre>")
6640 Firebug.InfoTip=extend(Firebug.Module,{dispatchName:"infoTip",tags:domplate({infoTipTag:DIV({"class":"infoTip"}),colorTag:DIV({style:"background: $rgbValue; width: 100px; height: 40px"}," "),imgTag:DIV({"class":"infoTipImageBox infoTipLoading"},IMG({"class":"infoTipImage",src:"$urlValue",repeat:"$repeat",onload:"$onLoadImage"}),IMG({"class":"infoTipBgImage",collapsed:true,src:"blank.gif"}),DIV({"class":"infoTipCaption"})),onLoadImage:function(event){var img=event.currentTarget||event.srcElement;
6641 var innerBox=img.parentNode;
6646 }var updateInfoTip=function(){var w=img.naturalWidth||img.width||10,h=img.naturalHeight||img.height||10;
6647 var repeat=img.getAttribute("repeat");
6648 if(repeat=="repeat-x"||(w==1&&h>1)){collapse(img,true);
6650 bgImg.style.background="url("+img.src+") repeat-x";
6654 }}else{if(repeat=="repeat-y"||(h==1&&w>1)){collapse(img,true);
6656 bgImg.style.background="url("+img.src+") repeat-y";
6660 }}else{if(repeat=="repeat"||(w==1&&h==1)){collapse(img,true);
6662 bgImg.style.background="url("+img.src+") repeat";
6665 }else{if(w>maxWidth||h>maxHeight){if(w>h){img.style.width=maxWidth+"px";
6666 img.style.height=Math.round((h/w)*maxWidth)+"px"
6667 }else{img.style.width=Math.round((w/h)*maxHeight)+"px";
6668 img.style.height=maxHeight+"px"
7679 }var fileName=getFileName(script.src)||getFileName(doc.location.href);
7707 },renderSourceCode:function(index){if(this.sourceIndex!=index){var renderProcess=function renderProcess(src){var html=[],hl=0;
7708 src=isIE&&!isExternal?src+"\n":"\n"+src;
7709 src=src.replace(/\n\r|\r\n/g,"\n");
7710 var match=src.match(/[\n]/g);
7715 html[hl++]=escapeHTML(src);
7740 }else{var src=script.innerHTML;
7741 renderProcess(src)
7751 var file=reFile.exec(script.src);
7754 if(reProtocol.test(script.src)){path=rePath.exec(script.src)[1]
7755 }else{var r=rePath.exec(script.src);
7756 var src=r?r[1]:script.src;
7757 var backDir=/^((?:\.\.\/)+)(.*)/.exec(src);
7764 }else{if(src.indexOf("/")!=-1){if(/^\.\/./.test(src)){path+=src.substring(2)
7765 }else{if(/^\/./.test(src)){var domain=/^(\w+:\/\/[^\/]+)/.exec(path);
7766 path=domain[1]+src
7767 }else{path+=src