marijnh/CodeMirror — pull request #2150 by sheopory (2014-01-16 19:39:17+00:00)
Title: Fix bug in updateScrollbars.

On IE8 only scrollHeight - d.scroller.clientHeight + d.scrollbarV.clientHeight evaluates to -ve in some cases. Guard that with returning 0 in that case. Seems a bug in IE8, so this can be treated as a workaround.