Currently whitespace elimination code doesn't consider runs of text renderers. We should always make whitespace renderer if the previous renderer is a text renderer. The behavior should be the same as if those were a single renderer with merged text. This situation can happen easily with display:contents.
Created attachment 326777 [details]
Created attachment 326778 [details]
Comment on attachment 326778 [details]
Clearing flags on attachment: 326778
Committed r224773: <https://trac.webkit.org/changeset/224773>
All reviewed patches have been landed. Closing bug.