Closed Bug 483551 Opened 16 years ago Closed 16 years ago

Duplicated top margin at floatbox with clear when it is the first element

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 451791

People

(Reporter: teohhanhui, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 (.NET CLR 3.5.30729) Object: 'the parent element for floated elements with its last child's clear attribute set' (FLOATBOX) Provided: 1. the FLOATBOX is the first element, and 2. the FLOATBOX does not have a border. An additional top margin is inserted above the FLOATBOX when: 1. a top margin is set for the FLOATBOX's next sibling, or 2. a bottom margin is set for the FLOATBOX. Reproducible: Always Steps to Reproduce: See attachment. Actual Results: The top margin is applied both above and below the FLOATBOX PARENT. Expected Results: The top margin should only be applied below the FLOATBOX PARENT.
Attached file Simple Testcase
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Summary: Duplicated top margin at parent of float box with clear when it is the first element → Duplicated top margin at floatbox with clear when it is the first element
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: