OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 | 682 |
683 static bool isForcedFragmentainerBreakValue(EBreak); | 683 static bool isForcedFragmentainerBreakValue(EBreak); |
684 | 684 |
685 EBreak classABreakPointValue(EBreak previousBreakAfterValue) const; | 685 EBreak classABreakPointValue(EBreak previousBreakAfterValue) const; |
686 | 686 |
687 // Return true if we should insert a break in front of this box. The box nee
ds to start at a | 687 // Return true if we should insert a break in front of this box. The box nee
ds to start at a |
688 // valid class A break point in order to allow a forced break. To determine
whether or not to | 688 // valid class A break point in order to allow a forced break. To determine
whether or not to |
689 // break, we also need to know the break-after value of the previous in-flow
sibling. | 689 // break, we also need to know the break-after value of the previous in-flow
sibling. |
690 bool needsForcedBreakBefore(EBreak previousBreakAfterValue) const; | 690 bool needsForcedBreakBefore(EBreak previousBreakAfterValue) const; |
691 | 691 |
692 bool paintedOutputOfObjectHasNoEffect() const override; | 692 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override; |
693 LayoutRect localOverflowRectForPaintInvalidation() const override; | 693 LayoutRect localOverflowRectForPaintInvalidation() const override; |
694 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La
youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override; | 694 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La
youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override; |
695 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants); | 695 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants); |
696 | 696 |
697 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const; | 697 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const; |
698 | 698 |
699 LayoutUnit containingBlockLogicalWidthForContent() const override; | 699 LayoutUnit containingBlockLogicalWidthForContent() const override; |
700 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; | 700 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; |
701 | 701 |
702 LayoutUnit containingBlockAvailableLineWidth() const; | 702 LayoutUnit containingBlockAvailableLineWidth() const; |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1220 || breakValue == BreakLeft | 1220 || breakValue == BreakLeft |
1221 || breakValue == BreakPage | 1221 || breakValue == BreakPage |
1222 || breakValue == BreakRecto | 1222 || breakValue == BreakRecto |
1223 || breakValue == BreakRight | 1223 || breakValue == BreakRight |
1224 || breakValue == BreakVerso; | 1224 || breakValue == BreakVerso; |
1225 } | 1225 } |
1226 | 1226 |
1227 } // namespace blink | 1227 } // namespace blink |
1228 | 1228 |
1229 #endif // LayoutBox_h | 1229 #endif // LayoutBox_h |
OLD | NEW |