Closed Bug 297844 Opened 20 years ago Closed 20 years ago

Clear:none on the next block causes the first line of the left floater to get cleared

Categories

(Core :: Layout: Floats, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

This is a follow-up from bug 204831. The second testcase ("Added option to set clear to none and back.") in that bug, still shows a bug. When clicking on the "[Set Next Block Clear to None]" link and the "[Set Next Block Clear to Left]" link, I would not expect the left block to become higher (because the text on the first line gets cleared to the second line). This is not what Opera7.54 is doing.
Attached file testcase
Hmm, well, this might not be a bug after all. It's the margin on the floating div, that's causing 'line jump' (so the summary of this bug is all wrong). When the next block has clear:none, the margin-top is calculated with the offset from that div, which is precisely what should be done accordingly to the specs, if I understand it correctly.
Yeah, this looks right to me.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: