• Home
  • Raw
  • Download

Lines Matching refs:el

45 function getTotalOffset(el) {  argument
50 var parent = el;
65 function up(el, className) { argument
66 var parent = el;
177 var el;
189 el = elements[i];
190 oldZoom = el.style.zoom;
193 el.style.zoom = 1;
195 origWidth = el.style.width;
196 el.style.width = goalWidth + "px";
197 transformContent(el, goalWidth, el.scrollWidth);
198 newZoom = documentWidth / el.scrollWidth;
200 if (el.classList.contains("mail-message-content")) {
203 outerDiv = up(el, "mail-message-content");
206 el.style.zoom = newZoom / outerZoom;
208 el.style.width = origWidth;
212 function transformContent(el, docWidth, elWidth) { argument
237 if (el.parentElement.classList.contains("mail-message")) {
238 msgId = el.parentElement.id;
245 nodes = ENABLE_MUNGE_TABLES ? el.querySelectorAll("div[style], textarea[style]") : [];
248 newWidth = el.scrollWidth;
249 console.log("ran div-width munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
261 nodes = ENABLE_MUNGE_IMAGES ? el.querySelectorAll("img") : [];
264 newWidth = el.scrollWidth;
265 console.log("ran img munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
280 nodes = ENABLE_MUNGE_TABLES ? el.querySelectorAll("table") : [];
284 newWidth = el.scrollWidth;
285 console.log("ran table munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
299 nodes = ENABLE_MUNGE_TABLES ? el.querySelectorAll("td") : [];
303 newWidth = el.scrollWidth;
304 console.log("ran td munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
345 textElement = el.firstChild;
351 el.insertBefore(textElement, el.firstChild);