Shape-inside can make a line only narrower than the original line width, thus we don't need to update the line/shape segments in fitBelowFloats for every single line inside shape-inside. This patch adds a helper function, which updates the line segments, furthermore it updates the line segments only when the content would fit without the shape.
Created attachment 225427 [details] Patch
Comment on attachment 225427 [details] Patch r=me
Comment on attachment 225427 [details] Patch Clearing flags on attachment: 225427 Committed r164868: <http://trac.webkit.org/changeset/164868>
All reviewed patches have been landed. Closing bug.