josephschmitt/Clamp.js — pull request #18 by danmana (2014-05-19 15:02:27+00:00)
Title: Fix handling of inline elements (span, label etc). Closes #5

Fix handling of inline elements by using Math.max(clientHeight, offsetHeight, scrollHeight) instead of just clientHeight. Inline elements report 0 as clientHeight and scrollHeight