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 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
791 LayoutRect logicalLayoutOverflowRectForPropagation(const ComputedStyle&) con st; | 791 LayoutRect logicalLayoutOverflowRectForPropagation(const ComputedStyle&) con st; |
792 LayoutRect layoutOverflowRectForPropagation(const ComputedStyle&) const; | 792 LayoutRect layoutOverflowRectForPropagation(const ComputedStyle&) const; |
793 | 793 |
794 bool hasOverflowModel() const { return m_overflow; } | 794 bool hasOverflowModel() const { return m_overflow; } |
795 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta ins(m_overflow->visualOverflowRect()); } | 795 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta ins(m_overflow->visualOverflowRect()); } |
796 | 796 |
797 virtual bool needsPreferredWidthsRecalculation() const; | 797 virtual bool needsPreferredWidthsRecalculation() const; |
798 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */ , double& /* intrinsicRatio */) const { } | 798 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */ , double& /* intrinsicRatio */) const { } |
799 | 799 |
800 IntSize scrolledContentOffset() const; | 800 IntSize scrolledContentOffset() const; |
801 void applyCachedScrollOffsetForPaintInvalidation(LayoutRect& paintRect) cons t; | 801 void applyCachedClipAndScrollOffsetForPaintInvalidationIfNeeded(const Layout BoxModelObject* paintInvalidationContainer, LayoutRect& paintRect) const; |
chrishtr
2015/12/18 01:58:07
Document that clips are not applied for the paintI
Xianzhu
2015/12/18 18:28:24
Done.
| |
802 void applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRec t) const; | |
803 | 802 |
804 virtual bool hasRelativeLogicalWidth() const; | 803 virtual bool hasRelativeLogicalWidth() const; |
805 virtual bool hasRelativeLogicalHeight() const; | 804 virtual bool hasRelativeLogicalHeight() const; |
806 | 805 |
807 bool hasHorizontalLayoutOverflow() const | 806 bool hasHorizontalLayoutOverflow() const |
808 { | 807 { |
809 if (!m_overflow) | 808 if (!m_overflow) |
810 return false; | 809 return false; |
811 | 810 |
812 LayoutRect layoutOverflowRect = m_overflow->layoutOverflowRect(); | 811 LayoutRect layoutOverflowRect = m_overflow->layoutOverflowRect(); |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1065 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1064 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
1066 deleteLineBoxWrapper(); | 1065 deleteLineBoxWrapper(); |
1067 } | 1066 } |
1068 | 1067 |
1069 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1068 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
1070 } | 1069 } |
1071 | 1070 |
1072 } // namespace blink | 1071 } // namespace blink |
1073 | 1072 |
1074 #endif // LayoutBox_h | 1073 #endif // LayoutBox_h |
OLD | NEW |