At certain zoom levels text-overflow ellipsis incorrectly clips content and displays the ellipsis even though the full content would fit. Downstream chromium bug: http://code.google.com/p/chromium/issues/detail?id=144057
Created attachment 180214 [details] Patch
Comment on attachment 180214 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=180214&action=review > Source/WebCore/rendering/RenderBlockLineLayout.cpp:3203 > + // FIXME: Use pixelSnappedLogicalRightOffsetForLine instead of snapping it ourselves once the column workaround in said method has been fixed. > + int blockRightEdge = logicalRightOffsetForLine(curr->lineTop(), firstLine).round(); Emil and I discussed using pixel snapping methods instead of .round() to make this clearer. I'd also like a bug for the column issue so these two fixmes can be tied together better.
Created attachment 180219 [details] Patch
Committed r138196: <http://trac.webkit.org/changeset/138196>
This appears to have caused unnecessarily ellipsization on a number of websites. See bug 105600 for information.