Closed Bug 295313 Opened 20 years ago Closed 20 years ago

Block (div) doesn't change his size (height) on overflow

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 192076

People

(Reporter: smokemaker, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; MyIE2)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511

Block with fixed height and overflow set to "visible" should change it's size 
when it's content exceeds it's size, but it doesn't.

Reproducible: Always

Steps to Reproduce:
1.use the following stylesheet
#content{
	width: 80px; background-color: blue; height: 50px; overflow: visible;
}
#sign{
	width: 80px; background-color: red; height: 20px;
}
2.Use the following HTML
<div id="content">
	sjhfskj skjfskdfh sdkjfhs klfhlas lasd lasdjk lasdj alsdkj alsdkj 
alsdkjf alsdjk fasldjf alsdk alsdkj aslkdj falskd jf
</div>
<div id="sign"></div>
3.See the whole text, but the block won't change it's size

Actual Results:  
Block "content" doesn't change it's size

Expected Results:  
Block "content" should change it's size, according to CSS
Serge, can you attach a testcase that shows this behaviour?
https://bugzilla.mozilla.org/attachment.cgi?bugid=295313&action=enter

*** This bug has been marked as a duplicate of 192076 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Component: General → Layout
Product: Mozilla Application Suite → Core
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
Blue blosk should change it's size to include the whole text, so the red one
should appear under the text, not behind it.
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: