Closed
Bug 239888
Opened 20 years ago
Closed 20 years ago
horizontal scrollbar is displayed
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
DUPLICATE
of bug 239477
People
(Reporter: kazhik, Assigned: hsaito54)
References
()
Details
Attachments
(1 obsolete file)
Horizontal scrollbar is displayed when right-aligned text has a trailing space. Testcase: http://bugzilla.mozilla.gr.jp/attachment.cgi?id=2171&action=view Saito-san, please post your patch.
Updated•20 years ago
|
Duplicate of bug 239477?
Assignee | ||
Comment 2•20 years ago
|
||
> Duplicate of bug 239477?
Yes, I think so.
Comment on attachment 145658 [details] [diff] [review] patch The |deltaWidth| is already passed back up to the caller so they can shrink. Is there something wrong with that code? Also, subtracting from the combined area's width is almost always the wrong thing to do. The last thing in the line need not be the farthest right -- there could be something relatively positioned with a value of 'left' that means trimming the whitespace shouldn't affect the combined area.
...although the combined area is mostly (but not entirely) recomputed later in nsLineLayout::RelativePositionFrames. So perhaps just subtracting is OK, although it would break if we implemented 'inline-block'.
Reporter | ||
Comment 5•20 years ago
|
||
*** This bug has been marked as a duplicate of 239477 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•20 years ago
|
Attachment #145658 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•