Closed
Bug 205673
Opened 22 years ago
Closed 22 years ago
Child element's position incorrect, ignores parent element's margin
Categories
(Core :: Layout: Floats, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 202449
People
(Reporter: mikecaines, Unassigned)
Details
(Keywords: regression)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla 1.4b
(Refers to testcase)
The position of the small blue div has changed with the newer Mozilla builds. It
affects 1.4a & 1.4b, but not Firebird 0.5 (1.3a). The blue div's position is
oblivious to the margin of its parent. The blue div's origin should be the same
as its parent. (ie. positioned in the top left corner)
Reproducible: Always
Steps to Reproduce:
Actual Results:
Blue div's vertical placement is calculated incorrectly.
Expected Results:
Blue div's origin should be the same as that of parent div.
If you change the parent div's margin to a smaller value (ie. -10px to -50px)
the blue div's position is unchanged.
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
http://www.w3.org/TR/CSS21/visuren.html#float-position says:
5. The outer top of a floating box may not be higher than the outer top of
any block or floated box generated by an element earlier in the source
document.
Our implementation of this rule was fixed by bug 196919.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Comment 5•22 years ago
|
||
Reopening to dup to appropriate bug.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 6•22 years ago
|
||
*** This bug has been marked as a duplicate of 202449 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•