Lines Matching refs:newWidth
216 var newWidth = elWidth;
248 newWidth = el.scrollWidth;
249 console.log("ran div-width munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
252 transformText += " DIV:newW=" + newWidth;
254 if (newWidth <= docWidth) {
264 newWidth = el.scrollWidth;
265 console.log("ran img munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
268 transformText += " IMG:newW=" + newWidth;
270 if (newWidth <= docWidth) {
284 newWidth = el.scrollWidth;
285 console.log("ran table munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
288 transformText += " TABLE:newW=" + newWidth;
290 if (newWidth <= docWidth) {
298 beforeWidth = newWidth;
303 newWidth = el.scrollWidth;
304 console.log("ran td munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
307 transformText += " TD:newW=" + newWidth;
309 if (newWidth <= docWidth) {
311 } else if (newWidth == beforeWidth) {
327 if (!done && (elWidth - newWidth) / (elWidth - docWidth) >