Closed Bug 254254 Opened 21 years ago Closed 21 years ago

DIV border overlaps content when DIV is dynamically resized

Categories

(Core :: Layout: Positioned, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: juliant, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Connected with bug report 151181 See also http://forums.mozillazine.org/viewtopic.php?t=108567 If you have two nested DIVs, both with borders. The inner DIV contains a P with sometext. If you dynamically resize the outer DIV, the inner DIV border is resized, so that it overlaps its contents. Reproducible: Always Steps to Reproduce: 1. Create an Outer DIV with width set and overflow hidden or auto. 2. Create an Inner DIV with a border set. 3. Insert into the Inner DIV a P with lots of text and white-space:nowrap, or alternatively a P with a border and width set. 4. Dyamically resize the outer DIV so that its width is less than the width of the P contained in the Inner DIV. Actual Results: Inner DIV border overlaps child P text. Expected Results: Presumably Inner DIV border should not change - as in IE.
Pretty sure this is a dupe of bug 201897, marking dependant for now.
Status: UNCONFIRMED → NEW
Component: Layout: Block and Inline → Layout: R & A Pos
Depends on: 201897
Ever confirmed: true
Keywords: testcase
OS: Windows 2000 → All
QA Contact: core.layout.block-and-inline → core.layout.r-and-a-pos
Hardware: PC → All
Assignee: nobody → mats.palmgren
-> FIXED (by bug 201897)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: