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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
842 // updateLogicalHeight. This is logicalHeight() before it is clamped to | 842 // updateLogicalHeight. This is logicalHeight() before it is clamped to |
843 // min/max. | 843 // min/max. |
844 mutable LayoutUnit m_intrinsicContentLogicalHeight; | 844 mutable LayoutUnit m_intrinsicContentLogicalHeight; |
845 | 845 |
846 void inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect&) const; | 846 void inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect&) const; |
847 | 847 |
848 LayoutRectOutsets m_marginBoxOutsets; | 848 LayoutRectOutsets m_marginBoxOutsets; |
849 | 849 |
850 protected: | 850 protected: |
851 // The preferred logical width of the element if it were to break its lines at every possible opportunity. | 851 // The preferred logical width of the element if it were to break its lines at every possible opportunity. |
852 // CSS 2.1 calls this width the 'preferred minimum width'. | |
Julien - ping for review
2015/08/27 18:56:54
Added minimum content width to this that I missed.
| |
853 // See https://drafts.csswg.org/css-sizing-3/#intrinsic for more information . | |
852 LayoutUnit m_minPreferredLogicalWidth; | 854 LayoutUnit m_minPreferredLogicalWidth; |
853 | 855 |
854 // The preferred logical width of the element if it never breaks any lines a t all. | 856 // The preferred logical width of the element if it never breaks any lines a t all. |
857 // CSS 2.1 calls this width the 'preferred width'. | |
Julien - ping for review
2015/08/27 18:56:54
Added "maximum cell width" to this that I missed.
| |
858 // See https://drafts.csswg.org/css-sizing-3/#intrinsic for more information . | |
855 LayoutUnit m_maxPreferredLogicalWidth; | 859 LayoutUnit m_maxPreferredLogicalWidth; |
856 | 860 |
857 // Our overflow information. | 861 // Our overflow information. |
858 OwnPtr<OverflowModel> m_overflow; | 862 OwnPtr<OverflowModel> m_overflow; |
859 | 863 |
860 private: | 864 private: |
861 OwnPtr<LayoutBoxRareData> m_rareData; | 865 OwnPtr<LayoutBoxRareData> m_rareData; |
862 }; | 866 }; |
863 | 867 |
864 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBox, isBox()); | 868 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBox, isBox()); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
930 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 934 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
931 deleteLineBoxWrapper(); | 935 deleteLineBoxWrapper(); |
932 } | 936 } |
933 | 937 |
934 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 938 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
935 } | 939 } |
936 | 940 |
937 } // namespace blink | 941 } // namespace blink |
938 | 942 |
939 #endif // LayoutBox_h | 943 #endif // LayoutBox_h |
OLD | NEW |