| 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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 976 | 976 |
| 977 // The logical width of the element if it never breaks any lines at all. | 977 // The logical width of the element if it never breaks any lines at all. |
| 978 // | 978 // |
| 979 // See LayoutObject::maxPreferredLogicalWidth() for more details. | 979 // See LayoutObject::maxPreferredLogicalWidth() for more details. |
| 980 LayoutUnit m_maxPreferredLogicalWidth; | 980 LayoutUnit m_maxPreferredLogicalWidth; |
| 981 | 981 |
| 982 // Our overflow information. | 982 // Our overflow information. |
| 983 OwnPtr<OverflowModel> m_overflow; | 983 OwnPtr<OverflowModel> m_overflow; |
| 984 | 984 |
| 985 private: | 985 private: |
| 986 LayoutRect frameRectForStickyPositioning() const final { return frameRect();
} |
| 987 |
| 986 OwnPtr<LayoutBoxRareData> m_rareData; | 988 OwnPtr<LayoutBoxRareData> m_rareData; |
| 987 }; | 989 }; |
| 988 | 990 |
| 989 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBox, isBox()); | 991 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBox, isBox()); |
| 990 | 992 |
| 991 inline LayoutBox* LayoutBox::previousSiblingBox() const | 993 inline LayoutBox* LayoutBox::previousSiblingBox() const |
| 992 { | 994 { |
| 993 return toLayoutBox(previousSibling()); | 995 return toLayoutBox(previousSibling()); |
| 994 } | 996 } |
| 995 | 997 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1057 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
| 1056 deleteLineBoxWrapper(); | 1058 deleteLineBoxWrapper(); |
| 1057 } | 1059 } |
| 1058 | 1060 |
| 1059 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1061 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 1060 } | 1062 } |
| 1061 | 1063 |
| 1062 } // namespace blink | 1064 } // namespace blink |
| 1063 | 1065 |
| 1064 #endif // LayoutBox_h | 1066 #endif // LayoutBox_h |
| OLD | NEW |