Let's use block formatting context's logic.
Created attachment 337587 [details] Patch
Committed r230469: <https://trac.webkit.org/changeset/230469>
<rdar://problem/39305349>