Closed Bug 301905 Opened 19 years ago Closed 16 years ago

Huge horizontal scroll bar appears due to certain CSS combination

Categories

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

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(3 files)

Build id: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4)
Gecko/20050724 Firefox/1.0+

Steps to reproduce
1. Visit http://www.aftonbladet.se or see testcase
2. Note huge horizontal scrollbar

I noticed that the horizontal scrollbar is huge on http://www.aftonbladet.se
(one of swedens most visited websites). See testcase and note that the div is
expanding to much, even though width:375px; is set.

The issue will go away if the font-family is removed. Note that the text will
not appear at all on the page if width:375px; is taken out
Attached file Minimized testcase
No scrollbar in:
2005-03-06-07-trunk

Scrollbar in:
2005-03-07-07-trunk

This happens in both quirks and standards mode
Attached image screenshot
WFM; see no horizontal scrollbar. Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.8b4) Gecko/20050724 Firefox/1.0+ ID:2005072400
Strange, somehow i cannot reproduce this bug here with a current CVS trunk build
on Win2k. Maybe limited to what fonts one has installed?
Attached image Screenshot of bug
(In reply to comment #4)
> Strange, somehow i cannot reproduce this bug here with a current CVS trunk
build
> on Win2k. Maybe limited to what fonts one has installed?

Yeah, that must be it, I have Helvetica installed on my system. I could upload
it to this bug if necessary.
Attachment #190300 - Attachment mime type: text/html → image/gif
Assignee: dbaron → nobody
Component: Style System (CSS) → Layout: Fonts and Text
QA Contact: ian → layout.fonts-and-text
No horizontal scroll for me in windows 900px-1000px wide in testcase or URL in
Linux seamonkey or OS/2 DPa2.
I tested this on Mac that comes with Helvetica pre-installed and I don't see the
issue
Is this still a problem?  I have Helvetica installed, and I don't get a scrollbar... (on Linux).
(In reply to comment #8)
> Is this still a problem? 

Yes, this is still an issue. Maybe my helvetica font is messed up. Though it used to work before, see comment 2 for when this "regressed"
Severity: normal → minor
Yeah, I saw that.  I see no checkins in that range that would obviously affect this.
Testcase WFM using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060817 Minefield/3.0a1 ID:2006081709 [cairo]
jose does this now work for you?

testcase WFM 
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061116 Minefield/3.0a1
WFM: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: