| 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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 | 694 |
| 695 LayoutUnit overrideContainingBlockContentLogicalWidth() const; | 695 LayoutUnit overrideContainingBlockContentLogicalWidth() const; |
| 696 LayoutUnit overrideContainingBlockContentLogicalHeight() const; | 696 LayoutUnit overrideContainingBlockContentLogicalHeight() const; |
| 697 bool hasOverrideContainingBlockLogicalWidth() const; | 697 bool hasOverrideContainingBlockLogicalWidth() const; |
| 698 bool hasOverrideContainingBlockLogicalHeight() const; | 698 bool hasOverrideContainingBlockLogicalHeight() const; |
| 699 void setOverrideContainingBlockContentLogicalWidth(LayoutUnit); | 699 void setOverrideContainingBlockContentLogicalWidth(LayoutUnit); |
| 700 void setOverrideContainingBlockContentLogicalHeight(LayoutUnit); | 700 void setOverrideContainingBlockContentLogicalHeight(LayoutUnit); |
| 701 void clearContainingBlockOverrideSize(); | 701 void clearContainingBlockOverrideSize(); |
| 702 void clearOverrideContainingBlockContentLogicalHeight(); | 702 void clearOverrideContainingBlockContentLogicalHeight(); |
| 703 | 703 |
| 704 LayoutUnit extraInlineOffset() const; | |
| 705 LayoutUnit extraBlockOffset() const; | |
| 706 void setExtraInlineOffset(LayoutUnit inlineOffest); | |
| 707 void setExtraBlockOffset(LayoutUnit blockOffest); | |
| 708 void clearExtraInlineAndBlockOffests(); | |
| 709 | |
| 710 LayoutSize offsetFromContainer(const LayoutObject*) const override; | 704 LayoutSize offsetFromContainer(const LayoutObject*) const override; |
| 711 | 705 |
| 712 LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(float width) const; | 706 LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(float width) const; |
| 713 LayoutUnit adjustBorderBoxLogicalHeightForBoxSizing(float height) const; | 707 LayoutUnit adjustBorderBoxLogicalHeightForBoxSizing(float height) const; |
| 714 LayoutUnit adjustContentBoxLogicalWidthForBoxSizing(float width) const; | 708 LayoutUnit adjustContentBoxLogicalWidthForBoxSizing(float width) const; |
| 715 LayoutUnit adjustContentBoxLogicalHeightForBoxSizing(float height) const; | 709 LayoutUnit adjustContentBoxLogicalHeightForBoxSizing(float height) const; |
| 716 | 710 |
| 717 // ComputedMarginValues holds the actual values for margins. It ignores | 711 // ComputedMarginValues holds the actual values for margins. It ignores |
| 718 // margin collapsing as they are handled in LayoutBlockFlow. | 712 // margin collapsing as they are handled in LayoutBlockFlow. |
| 719 // The margins are stored in logical coordinates (see COORDINATE | 713 // The margins are stored in logical coordinates (see COORDINATE |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1631 | 1625 |
| 1632 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { | 1626 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { |
| 1633 return breakValue == BreakColumn || breakValue == BreakLeft || | 1627 return breakValue == BreakColumn || breakValue == BreakLeft || |
| 1634 breakValue == BreakPage || breakValue == BreakRecto || | 1628 breakValue == BreakPage || breakValue == BreakRecto || |
| 1635 breakValue == BreakRight || breakValue == BreakVerso; | 1629 breakValue == BreakRight || breakValue == BreakVerso; |
| 1636 } | 1630 } |
| 1637 | 1631 |
| 1638 } // namespace blink | 1632 } // namespace blink |
| 1639 | 1633 |
| 1640 #endif // LayoutBox_h | 1634 #endif // LayoutBox_h |
| OLD | NEW |