Lines Matching refs:docWidth
212 function transformContent(el, docWidth, elWidth) { argument
231 if (elWidth <= docWidth) {
239 transformText = "[origW=" + elWidth + "/" + docWidth;
246 touched = transformBlockElements(nodes, docWidth, actionLog);
250 + " docW=" + docWidth);
254 if (newWidth <= docWidth) {
262 touched = transformImages(nodes, docWidth, actionLog);
266 + " docW=" + docWidth);
270 if (newWidth <= docWidth) {
286 + " docW=" + docWidth);
290 if (newWidth <= docWidth) {
305 + " docW=" + docWidth);
309 if (newWidth <= docWidth) {
327 if (!done && (elWidth - newWidth) / (elWidth - docWidth) >
392 function transformBlockElements(nodes, docWidth, actionLog) { argument
403 if (index >= 0 && wStr.slice(0, index) > docWidth) {
416 function transformImages(nodes, docWidth, actionLog) { argument
427 if (w > docWidth) {
431 node.style.maxWidth = docWidth + "px";