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)
Core
Layout: Positioned
Tracking
()
RESOLVED
FIXED
People
(Reporter: juliant, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: testcase)
Attachments
(1 file)
735 bytes,
text/html
|
Details |
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.
Reporter | ||
Comment 1•21 years ago
|
||
Assignee | ||
Comment 2•21 years ago
|
||
Pretty sure this is a dupe of bug 201897, marking dependant for now.
Assignee | ||
Updated•21 years ago
|
Assignee: nobody → mats.palmgren
Assignee | ||
Comment 3•21 years ago
|
||
-> 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.
Description
•