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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 | 879 |
880 LayoutUnit containingBlockLogicalWidthForContent() const override; | 880 LayoutUnit containingBlockLogicalWidthForContent() const override; |
881 LayoutUnit containingBlockLogicalHeightForContent( | 881 LayoutUnit containingBlockLogicalHeightForContent( |
882 AvailableLogicalHeightType) const; | 882 AvailableLogicalHeightType) const; |
883 | 883 |
884 LayoutUnit containingBlockAvailableLineWidth() const; | 884 LayoutUnit containingBlockAvailableLineWidth() const; |
885 LayoutUnit perpendicularContainingBlockLogicalHeight() const; | 885 LayoutUnit perpendicularContainingBlockLogicalHeight() const; |
886 | 886 |
887 virtual void updateLogicalWidth(); | 887 virtual void updateLogicalWidth(); |
888 void updateLogicalHeight(); | 888 void updateLogicalHeight(); |
| 889 void computeLogicalHeight(LogicalExtentComputedValues&) const; |
889 virtual void computeLogicalHeight(LayoutUnit logicalHeight, | 890 virtual void computeLogicalHeight(LayoutUnit logicalHeight, |
890 LayoutUnit logicalTop, | 891 LayoutUnit logicalTop, |
891 LogicalExtentComputedValues&) const; | 892 LogicalExtentComputedValues&) const; |
892 // This function will compute the logical border-box height, without laying | 893 // This function will compute the logical border-box height, without laying |
893 // out the box. This means that the result is only "correct" when the height | 894 // out the box. This means that the result is only "correct" when the height |
894 // is explicitly specified. This function exists so that intrinsic width | 895 // is explicitly specified. This function exists so that intrinsic width |
895 // calculations have a way to deal with children that have orthogonal flows. | 896 // calculations have a way to deal with children that have orthogonal flows. |
896 // When there is no explicit height, this function assumes a content height of | 897 // When there is no explicit height, this function assumes a content height of |
897 // zero (and returns just border+padding). | 898 // zero (and returns just border+padding). |
898 LayoutUnit computeLogicalHeightWithoutLayout() const; | 899 LayoutUnit computeLogicalHeightWithoutLayout() const; |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1613 | 1614 |
1614 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { | 1615 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { |
1615 return breakValue == BreakColumn || breakValue == BreakLeft || | 1616 return breakValue == BreakColumn || breakValue == BreakLeft || |
1616 breakValue == BreakPage || breakValue == BreakRecto || | 1617 breakValue == BreakPage || breakValue == BreakRecto || |
1617 breakValue == BreakRight || breakValue == BreakVerso; | 1618 breakValue == BreakRight || breakValue == BreakVerso; |
1618 } | 1619 } |
1619 | 1620 |
1620 } // namespace blink | 1621 } // namespace blink |
1621 | 1622 |
1622 #endif // LayoutBox_h | 1623 #endif // LayoutBox_h |
OLD | NEW |