NaN can confuse the line breaking logic.
<rdar://problem/75028043>
Created attachment 422261 [details] Patch
Committed r273918: <https://commits.webkit.org/r273918> All reviewed patches have been landed. Closing bug and clearing flags on attachment 422261 [details].