Closed Bug 254254 Opened 16 years ago Closed 15 years ago
DIV border overlaps content when DIV is dynamically resized
735 bytes, text/html
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.
-> FIXED (by bug 201897)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.