Closed Bug 264110 Opened 20 years ago Closed 16 years ago

css tag "overflow:hidden" hides all text if text overflows block container

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 172819

People

(Reporter: rob, Unassigned)

References

(Depends on 1 open bug, )

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10 Situation where text that should be visible is instead invisible. I get the expected results in IE 6.0. Reproducible: Always Steps to Reproduce: 1) Go to http://www.wysiwygpro.com/demos/demo1.php 2) Click the "Insert/Edit an Image..." toolbar button (next to smiley face) 3) Upload an image with a very long name (~30 chars) 4) Notice that the image name does not appear in the left-side list box If you look at the source code, there is a <p> element embedded inside of a <td>. The <p> element has a style that includes "overflow:hidden". Expected Results: The filename should show up, taking as much space available in the <td> element, but no more (it shouldn't "overflow").
Same behavior in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040927 -> Browser
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Trunk
The problem is that Mozilla breaks the line after the image and the filename is placed in the next line, which is hidden because the paragraph has a fixed height. Stripped down version: <p style="width: 180px; height: 22px; overflow:hidden"><img src="about:logo" width="23" height="22">driverguide_search_help_ico.gif </p> Increase the height to e.g. 32px and you'll see where the filename went. Probably a duplicate of or dependant on bug 172819.
Depends on: 172819
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/
The problematic site/code is gone. Because the underlying problem is bug 172819, this is a dupe.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.