The previous implementation of line-clamp was relying on the flex measuring reflow. Differential Revision: https://phabricator.services.mozilla.com/D157371