Closed
Bug 157537
Opened 23 years ago
Closed 23 years ago
DIVs using float:left render outside of containing DIV
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
People
(Reporter: pittman, Assigned: attinasi)
Details
Attachments
(1 file)
667 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.1a+) Gecko/20020715
BuildID: 2002071503
I will attach a test case demonstrating the problem.
The attached page should render all eight of the internal divs (the ones
containing the letter 'a') inside the outer div (the one with the border).
Mozilla 1.0, 1.1alpha, and 2002071503 all render the outer div with zero height
(such that the border appears as a horizontal line), with the internal divs
below it.
Reproducible: Always
Steps to Reproduce:
1. View the attached document.
Reporter | ||
Comment 1•23 years ago
|
||
Updated•23 years ago
|
OS: Mac System 9.x → All
Hardware: Macintosh → All
Comment 2•23 years ago
|
||
Confirmed, I see the behavior described in the bug description.. However, are
you sure this is not the desired behavior ?
I do believe that if a <div> (box) has one absolute property, they must all be
absolute, and should not be scaled by the renderer. However, I have no
documentation to back this up, so perhaps it's all something I dreamt ;)
Comment 3•23 years ago
|
||
I don't think there's a bug here. CSS2 section 9.5
"Since a float is not in the flow, non-positioned block boxes created before
and after the float box flow vertically as if the float didn't exist. "
Mozilla, Opera and Konqueror all render the same too. Convince me they're all
wrong.
Comment 4•23 years ago
|
||
that's quite silly, but still valid CSS2, so this is invalid (and a dup)
*** This bug has been marked as a duplicate of 22431 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•23 years ago
|
QA Contact: petersen → moied
You need to log in
before you can comment on or make changes to this bug.
Description
•