| Index: Source/core/rendering/RenderBox.h
|
| diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
|
| index 21c870a64f501c9efb5ff8693e4519b93fc55045..6919a41b8db47a441548f73df62dcdc6ccafe82e 100644
|
| --- a/Source/core/rendering/RenderBox.h
|
| +++ b/Source/core/rendering/RenderBox.h
|
| @@ -321,13 +321,12 @@ public:
|
| m_marginBox.setEnd(styleToUse->writingMode(), styleToUse->direction(), value);
|
| }
|
|
|
| - // The following five functions are used to implement collapsing margins.
|
| + // The following functions are used to implement collapsing margins.
|
| // All objects know their maximal positive and negative margins. The
|
| // formula for computing a collapsed margin is |maxPosMargin| - |maxNegmargin|.
|
| // For a non-collapsing box, such as a leaf element, this formula will simply return
|
| // the margin of the element. Blocks override the maxMarginBefore and maxMarginAfter
|
| // methods.
|
| - enum MarginSign { PositiveMargin, NegativeMargin };
|
| virtual bool isSelfCollapsingBlock() const { return false; }
|
| virtual LayoutUnit collapsedMarginBefore() const { return marginBefore(); }
|
| virtual LayoutUnit collapsedMarginAfter() const { return marginAfter(); }
|
|
|