This occurs when the negative text indent is larger than the line's inline minimum preferred width.
Created attachment 186685 [details]
Created attachment 186891 [details]
Comment on attachment 186891 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=186891&action=review
Have you tested this for rtl content and with a negative margin-right?
> + // Only gets added to the max preffered width once.
Created attachment 186916 [details]
Comment on attachment 186916 [details]
Clearing flags on attachment: 186916
Committed r142042: <http://trac.webkit.org/changeset/142042>
All reviewed patches have been landed. Closing bug.
The layout test added in this patch is failing on GTK. Could the failure be caused by the subpixel layout being disabled?
For reference, here's the expected and actual image output.
That looks like a subpixel alignment issue. The good news is that there is no line break though.