Stop using LayoutContext (which is more of a full tree layout thing) and use InlineFormattingContext directly. This has a side benefit of not needing to setup a root display box.
Created attachment 388292 [details] patch
Created attachment 388295 [details] patch
Comment on attachment 388295 [details] patch v.nice!
Comment on attachment 388295 [details] patch Clearing flags on attachment: 388295 Committed r254853: <https://trac.webkit.org/changeset/254853>
All reviewed patches have been landed. Closing bug.
<rdar://problem/58759449>