Hi,
We have looked into this issue and confirmed this to be a bug related to the following CSS style:
Specifically, when word-wrap is set to break-word, the layout engine will literally break the word on each character. This causes the following HTML to be measured as three lines (one character a line) instead of one line:
The easiest way to avoid this problem is to remove word-wrap: break-word. In the test file you sent to us, you can remove this line in the #editor CSS rule.
If you must use word-wrap: break-word, you can explicitly add a width value to the element. For example, if you change:
To:
Code: HTML/ASPX
<p style="width:200px;">abc</p>
Then this will avoid it to be measured as three lines even if word-wrap: break-word is on.
Hope this helps. Please feel free to let us know if you still have any questions.
Thanks!