Searched refs:mustDiscardMarginBefore (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderBlockFlow.h411 bool mustDiscardMarginBefore() const;
H A DRenderBlockFlow.cpp1102 m_discardMargin = m_canCollapseMarginBeforeWithChildren && blockFlow->mustDiscardMarginBefore();
1104 m_positiveMargin = (m_canCollapseMarginBeforeWithChildren && !blockFlow->mustDiscardMarginBefore()) ? blockFlow->maxPositiveMarginBefore() : LayoutUnit();
1105 m_negativeMargin = (m_canCollapseMarginBeforeWithChildren && !blockFlow->mustDiscardMarginBefore()) ? blockFlow->maxNegativeMarginBefore() : LayoutUnit();
1404 // In case the child discarded the before margin of the block we need to reset the mustDiscardMarginBefore flag to the initial value.
1634 bool RenderBlockFlow::mustDiscardMarginBefore() const function in class:blink::RenderBlockFlow
1648 return child->isRenderBlockFlow() ? toRenderBlockFlow(child)->mustDiscardMarginBefore() : (child->style()->marginBeforeCollapse() == MDISCARD);
1663 return child->isRenderBlockFlow() ? toRenderBlockFlow(child)->mustDiscardMarginBefore() : (child->style()->marginBeforeCollapse() == MDISCARD);

Completed in 230 milliseconds