67 } else if (object.isFloating()) {
68 // The top margin edge of a self-collapsing block that clears a float intrudes up into it by the height of the margin,
69 // so in order to place this first child float at the top content edge of the self-collapsing block add the margin back in before placement.
70 LayoutUnit marginOffset = (!object.previousSibling() && m_block.isSelfCollapsingBlock() && m_block.style().clear() && m_block.getClearDelta(m_block, LayoutUnit())) ? m_block.collapsedMarginBeforeForChild(m_block) : LayoutUnit();
71 LayoutUnit oldLogicalHeight = m_block.logicalHeight();
72 m_block.setLogicalHeight(oldLogicalHeight + marginOffset);