Closed Bug 388026 Opened 17 years ago Closed 17 years ago

whitespace at the right of right-aligned block causes parent block to scroll

Categories

(Core :: Layout: Text and Fonts, defect, P2)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: kairo, Assigned: roc)

References

()

Details

(Keywords: regression, testcase)

Attachments

(4 files)

Attached file testcase
On many of my pages, I'm using a right-aligned footer block (<div>).
On trunk, I found that some of them made the main content div, which has overflow:auto set, display a scrollbar though they never did that before (i.e. on branch or older builds).

I could reduce the difference between pages that show this error to a space at the right side of the right-aligned text.

See the attached testcase for a working and a non-working case, which only differ by this one space. I don't think we ever should display a scrollbar there...
Seeing this on OS X width Camino trunk and Minefield.
And no there shouldn't be any scrollbar.
OS: Linux → All
Hardware: PC → All
regressed:
OK
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a6pre)
Gecko/20070620 Minefield/3.0a6pre ID:2007062004
Fails
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a6pre)
Gecko/20070621 Minefield/3.0a6pre ID:2007062104

--> makes it a regression from bug 367177.
Blocks: 367177
Keywords: regression, testcase
This seems to be worksforme in current trunk build.
Both the testcase and the URL in this bug show the bug still here with
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007092316 SeaMonkey/2.0a1pre
Attached file testcase
Ok, I see it at http://www.shoutcast.com/ where I see a horizontal scrollbar in current trunk builds. This is a testcase based on that site.
Assignee: nobody → roc
Flags: blocking1.9?
When resizing the window to the length of the text string, this triggers a horizontal scrollbar.
After the text, there is a line-break in the source-code.
Fixed by the patch in bug 399531.
Depends on: 399531
Whiteboard: [depends on 399531]
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Fixed by checkin for bug 399531. I also added a reftest for this bug.
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [depends on 399531]
verified on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b2pre) Gecko/2007120412 SeaMonkey/2.0a1pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: