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 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1088 virtual int inlineBlockBaseline(LineDirectionMode) const { | 1088 virtual int inlineBlockBaseline(LineDirectionMode) const { |
1089 return -1; | 1089 return -1; |
1090 } // Returns -1 if we should skip this box when computing the baseline of an | 1090 } // Returns -1 if we should skip this box when computing the baseline of an |
1091 // inline-block. | 1091 // inline-block. |
1092 | 1092 |
1093 virtual Node* nodeForHitTest() const { return node(); } | 1093 virtual Node* nodeForHitTest() const { return node(); } |
1094 | 1094 |
1095 bool shrinkToAvoidFloats() const; | 1095 bool shrinkToAvoidFloats() const; |
1096 virtual bool avoidsFloats() const; | 1096 virtual bool avoidsFloats() const; |
1097 | 1097 |
1098 void updateFragmentationInfoForChild(LayoutBox& child); | 1098 void updateFragmentationInfoForChild(LayoutBox&); |
1099 | 1099 bool childNeedsRelayoutForPagination(const LayoutBox&) const; |
1100 void markChildForPaginationRelayoutIfNeeded(LayoutBox& child, | 1100 void markChildForPaginationRelayoutIfNeeded(LayoutBox&, SubtreeLayoutScope&); |
1101 SubtreeLayoutScope&); | |
1102 | 1101 |
1103 bool isWritingModeRoot() const { | 1102 bool isWritingModeRoot() const { |
1104 return !parent() || | 1103 return !parent() || |
1105 parent()->style()->getWritingMode() != style()->getWritingMode(); | 1104 parent()->style()->getWritingMode() != style()->getWritingMode(); |
1106 } | 1105 } |
1107 bool isOrthogonalWritingModeRoot() const { | 1106 bool isOrthogonalWritingModeRoot() const { |
1108 return parent() && | 1107 return parent() && |
1109 parent()->isHorizontalWritingMode() != isHorizontalWritingMode(); | 1108 parent()->isHorizontalWritingMode() != isHorizontalWritingMode(); |
1110 } | 1109 } |
1111 void markOrthogonalWritingModeRoot(); | 1110 void markOrthogonalWritingModeRoot(); |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1620 | 1619 |
1621 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { | 1620 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { |
1622 return breakValue == BreakColumn || breakValue == BreakLeft || | 1621 return breakValue == BreakColumn || breakValue == BreakLeft || |
1623 breakValue == BreakPage || breakValue == BreakRecto || | 1622 breakValue == BreakPage || breakValue == BreakRecto || |
1624 breakValue == BreakRight || breakValue == BreakVerso; | 1623 breakValue == BreakRight || breakValue == BreakVerso; |
1625 } | 1624 } |
1626 | 1625 |
1627 } // namespace blink | 1626 } // namespace blink |
1628 | 1627 |
1629 #endif // LayoutBox_h | 1628 #endif // LayoutBox_h |
OLD | NEW |