(display)
| 1439 | function paddingTop(display) {return display.lineSpace.offsetTop;} |
| 1440 | function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;} |
| 1441 | function paddingH(display) { |
| 1442 | if (display.cachedPaddingH) return display.cachedPaddingH; |
| 1443 | var e = removeChildrenAndAdd(display.measure, elt("pre", "x")); |
| 1444 | var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle; |
| 1445 | return display.cachedPaddingH = {left: parseInt(style.paddingLeft), |
| 1446 | right: parseInt(style.paddingRight)}; |
| 1447 | } |
| 1448 | |
| 1449 | // Ensure the lineView.wrapping.heights array is populated. This is |
| 1450 | // an array of bottom offsets for the lines that make up a drawn |
no test coverage detected