Open Bug 235524 Opened 20 years ago Updated 2 years ago

Overflow: hidden influences box layout

Categories

(Core :: XUL, defect)

x86
Windows 98
defect

Tracking

()

People

(Reporter: m.d.nauta, Unassigned)

Details

Attachments

(4 files)

User-Agent:       
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7a) Gecko/20031225

A box surrounding a box which has overflow: hidden style calculates its width as
if the overflowing box is not clipped. The other overflow styles (visible and
auto) do clip correctly.

Reproducible: Always
Steps to Reproduce:
1. Just view the testcase
2.
3.

Actual Results:  
There is a white area between the red border of the outer box and the black
border of the overflowing box, right where the hidden text is.

Expected Results:  
There should not be space between the red border of the outer box and the black
border of the overflowing box.

This is just another manifestation of the bug introduced between version 1.5 and
1.6 (see the other bug reports on overflow: hidden).
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7a) Gecko/20031225 has Bug
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031208 has Bug
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5) Gecko/20031007 is OK
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040207 has Bug
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031012 is OK
Assignee: dbaron → hyatt
Component: Style System (CSS) → XP Toolkit/Widgets: XUL
QA Contact: ian → shrir
I can reproduce this Bug with Mozilla 1.8a1
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
I just tested Firefox 1.5b1 and 1.0.7 and this bug is still present in both of
them. (Was inspired to do so by the automated message....)
Reproduced with Firefox 1.5.0.1, Seamonkey 1.0, Win2K.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I can still see this bug in Gecko/2008060207 Minefield/3.0pre. And in addition i can see it also with overflow:auto for which i will attach a testcase
Attached file overflow:auto testcase
Attached file one more similar bug
One more similar bug.In this testcase is used crop on the label with max-width and although the label is as long as it should be the surrounding hbox is as long as if the label hasn't been cropped(although the hbox has max-length too). This case has a workaround - set overflow:hidden on the hbox
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
Confirming on Firefox 3.0.3 on Linux with HTML (whoa, there's a wildly different arrangement!), UA = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)

This revelation likely changes several features of this bug; it's a CSS bug rather than a XUL bug, and platform can now move to PC All.
Assignee: hyatt → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: