In the attached test case, the squares on the first line should be aligned with their counterparts on the third line. They are not, because RenderBlock::computeInlineDirectionPositionsForLine() counts only ' ', '\t' and '\n' as spaces, whereas WidthIterator also counts no-break space as a space (using Font::treatAsSpace()).
Created attachment 79809 [details]
Created attachment 79813 [details]
Count no-break space as a space when distributing justification padding to text boxes on a line
Fixed in <http://trac.webkit.org/projects/webkit/changeset/76414>.
Is this bug related to https://bugs.webkit.org/show_bug.cgi?id=38902 ?
(In reply to comment #4)
> Is this bug related to https://bugs.webkit.org/show_bug.cgi?id=38902 ?
http://trac.webkit.org/changeset/76414 might have broken Qt Linux Release
The following tests are not passing:
This test also seems to be failing on Snow Leopard, Leopard, Chromium, etc...
Sorry about that. I think I accidentally checked in a contenteditable version of the test with result from a non-editable version or vice versa.
Committed revision 76421.