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

RESOLVED WORKSFORME

Status

()

Core
Layout: Block and Inline
RESOLVED WORKSFORME
14 years ago
9 years ago

People

(Reporter: Blu3, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

14 years ago
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
(Reporter)

Comment 2

14 years ago
Created attachment 148590 [details]
testcase showing span/lastline render bug
Blocks: 297034
So... this works fine for me in current trunk.  Is this still an issue?
(Reporter)

Comment 4

11 years ago
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.

Comment 5

9 years ago
-> 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
Last Resolved: 9 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.