Closed Bug 222739 Opened 21 years ago Closed 21 years ago

top:-1 after float:left after clear:both is misrendered

Categories

(Core :: Layout: Floats, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 25888

People

(Reporter: paul.lebeau, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 At the start of a page, or after a clear: both/left... If the next block element id float:left and the subsequent block element is positioned relatively with a negative top, the latter element if displayed flush left instead of at its proper position. Example HTML: <div style="float: left;">Key</div> <div style="position: relative; top: -1px;">Value</div> <div style="float: left;">Key</div> <div style="position: relative; top: -1px;">Value</div> <br style="clear: all;"> <div style="float: left;">Key</div> <div style="position: relative; top: -1px;">Value</div> <div style="float: left;">Key</div> <div style="position: relative; top: -1px;">Value</div> <br style="clear: all;"> <div style="float: left;">Key</div> <div style="position: relative; top: 0px;">Value</div> <div style="float: left;">Key</div> <div style="position: relative; top: -1px;">Value</div> Will attach a screenshot of what I am getting (in both 1.4a and 1.5) Reproducible: Always Steps to Reproduce:
Notice that if the top is non-negative, all is ok
A duplicate of the combination of bug 205087 and bug 25888. *** This bug has been marked as a duplicate of 25888 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Depends on: 25888, 205087
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: