(display)
| 2917 | // but using getBoundingClientRect to get a sub-pixel-accurate |
| 2918 | // result. |
| 2919 | function compensateForHScroll(display) { |
| 2920 | return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left |
| 2921 | } |
| 2922 | |
| 2923 | // Returns a function that estimates the height of a line, to use as |
| 2924 | // first approximation until the line becomes visible (and is thus |
no outgoing calls
no test coverage detected