title: scrollHeight property in FireFox
body: <p>I'm working on a function to detect whether text inside of a DIV element would overflow. In this regard I have a function working in both Chrome and IE that compares the element's scrollHeight to the clientHeight attributes.</p>
  
  <p>However in FireFox both attributes (as well as offsetHeight) always report the same number which happens to be the height of the div element.</p>
  
  <p>I do get accurate results from the scrollHeight property if I add 'overflow:auto' to the div style. But displaying the scrollbar isn't an acceptable solution for the project I'm working on.</p>
  
  <p>Any suggestions?</p>