Valentin Shergin 6b11259c46 Fixed issue with measuring text with NaN width
Summary:
Looks like `-[NSLayoutManager ensureLayoutForTextContainer:textContainer]` has a bug that cause infinite loop inside this method
during measuring some special characters AND when specified `width` equals NaN (which is useless anyways).

So, we cover this case in this diff.

Reviewed By: javache

Differential Revision: D5859767

fbshipit-source-id: 58a5910f21f282bf5b82494916b5b02ad72d357f
2017-09-19 14:16:41 -07:00
..
2017-09-11 16:08:03 -07:00
2017-09-06 03:33:43 -07:00
2017-09-06 03:33:43 -07:00
2016-11-02 12:29:15 -07:00
2017-09-08 14:46:14 -07:00
2017-08-25 10:00:39 -07:00
2017-09-12 05:50:26 -07:00
2017-02-21 15:18:40 -08:00
2017-08-23 08:54:39 -07:00
2017-09-06 03:33:43 -07:00
2017-09-06 03:33:43 -07:00
2017-08-23 20:45:45 -07:00
2017-09-06 03:33:43 -07:00
2017-09-06 03:33:43 -07:00