[Webkit-unassigned] [Bug 12423] Mixing white-space:pre text with non white-space:pre text within a text-align:justify block causes text to overlap

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 27 09:49:34 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12423


ddkilzer at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mitz at webkit.org,
                   |                            |hyatt at apple.com




------- Comment #7 from ddkilzer at webkit.org  2007-01-27 09:49 PDT -------
I've tried tracing through the rendering code, and found that in
RenderBlock::computeHorizontalPositionsForLine(), availableWidth = 372 while
totWidth = 509 by the time the code reaches the "Armed with the total width of
the line (without justification),..." comment.

It seems that the text with the white-space:pre style is lying about its width
during layout somewhere.

Note that Opera 9.10, Firefox 2.0.0.1 and Mac MSIE 5.23 all render this without
overlapping text.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list