Closed
Bug 287823
Opened 20 years ago
Closed 20 years ago
Triple right padding until redrawing, in nested divs, overflow=anything but visible, and container w/o padding
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: deifo, Unassigned)
References
()
Details
Attachments
(1 file, 2 obsolete files)
|
1.26 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux; es) KHTML/3.4.0 (like Gecko) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.6) Gecko/20050322 Firefox/1.0.2 If a parent <div> has padding equal to 0 and overflow is set to anything but visible, and if the child <div> has overflow set to anything but visible, then the child <div> shows a right padding about 3 times larger than its normal padding. Reproducible: Always Steps to Reproduce: 1. Load a web page with this: <div class="a"><div class="b"><div>test</div></div></div> 2. The first div (a) should have "padding:0; overflow: hidden;" 3. The second div (b) should have "padding: 10px; overflow: hidden;" Actual Results: The second div (b) has a right padding about 3 times longer than normal. Redrawing the window shows the normal behavior. Expected Results: The second div (b) should have a right padding equal to the top, left and bottom padding. Redrawing the window should not modify any behavior. Tested on Firefox 1.0.2 on Windows and Linux. An easy way to redraw the window is resizing the font, resizing the window, etc... Overflow can be set to auto, hidden or scroll with the same behavior. Konqueror 3.4.0 and IE6 are working as expected. See also the testcase.
This testcase combines the other two files.
Attachment #178670 -
Attachment is obsolete: true
Attachment #178671 -
Attachment is obsolete: true
Comment 4•20 years ago
|
||
I can't reproduce this with a current trunk build (based on Gecko 1.8beta2, basically). David, any chance of trying a trunk build and seeing whether the problem is still there?
OK, on Gecko 1.8beta2 it works.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•