Closed Bug 243711 Opened 20 years ago Closed 16 years ago

Right aligned last line of text in shrink-wrap container misrendered

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: david, Unassigned)

References

Details

Attachments

(1 file)

CVS HEAD, may 15th, 2004, gtk2, debug

<p style='text-align: right; float: right; white-space: nowrap; font-size:
3em;'> When the Xs extend most,<br>
the <b>4</b> doesn't line up<br>
with this period<b>.</b><br>
<span>xxxxxxxxxxxxxxxxxxxxxxx 2004</span>
</p>

Will show up looking something like:

xxxxx
 yyyyy

Instead of

xxxxx
yyyyy
Setting useful summary.

Blu3, please attach the testcase to the bug using
http://bugzilla.mozilla.org/attachment.cgi?bugid=243711&action=enter, ok?
Component: Layout → Layout: Block and Inline
QA Contact: core.layout → core.layout.block-and-inline
Summary: With a particular arrangement, line layout is rendered incorrectly → Right aligned last text in shrink-wrap container misrendered
Summary: Right aligned last text in shrink-wrap container misrendered → Right aligned last line of text in shrink-wrap container misrendered
Blocks: 297034
So... this works fine for me in current trunk.  Is this still an issue?
I don't have trunk installed right now, were changes made recently to address this issue or is this a housecleaning of old bugs?

Viewing the testcase content attached to the bug, I still see this issue in Firefox 2.0.0.1.  The text is " " away from the right margin and the 4 is right up on the right margin.  The leftmost corner of the 4 is aligned with the period above it and the rest of the 4 is aligned with the blank space following the characters in the lines above it.

xxx |
yyy |
zz. |
aaa4|

nearly approximate -- just picture the aaa4 line adjusted left enough for the left edge of the 4 to align with the period.
-> WORKSFORME

in Fx 3.0.1 and current Trunk
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/2008080504 Minefield/3.1a2pre

(Hardware/OS changed to All/All)
Status: NEW → RESOLVED
Closed: 16 years ago
OS: Linux → All
Hardware: PC → All
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: