When a run overlaps multiple inline elements like this: <span>normal text content</span><span style="position: relative; left: 10px;">but this one needs dedicated run</span><span>end of text</span> The above content generates one long run <normal text contentbut this one needs dedicated runend of text> However the middle run needs to be moved independently from the rest of the content, hence it needs a dedicated inline run.
Created attachment 354488 [details] Patch
Created attachment 354494 [details] Patch
Created attachment 354532 [details] Patch
This is not supposed to be too common, but could improve if it ends up being in a hot codepath.
Comment on attachment 354532 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=354532&action=review > Source/WebCore/ChangeLog:10 > + <span>normal text content</span><span style="position: relative; left: 10px;">but this one needs a dedicated run</span><span>end of text</span> No test?
Committed r238087: <https://trac.webkit.org/changeset/238087>
<rdar://problem/45990074>
(In reply to Antti Koivisto from comment #5) > Comment on attachment 354532 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=354532&action=review > > > Source/WebCore/ChangeLog:10 > > + <span>normal text content</span><span style="position: relative; left: 10px;">but this one needs a dedicated run</span><span>end of text</span> > > No test? The positioning part is not done yet. This patch was actually in preparation for that (have to split the runs in order to move them independently)