| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
| 7 * All rights reserved. | 7 * All rights reserved. |
| 8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 815 bool childNeedsOverflowRecalcAfterStyleChange() const { | 815 bool childNeedsOverflowRecalcAfterStyleChange() const { |
| 816 return m_bitfields.childNeedsOverflowRecalcAfterStyleChange(); | 816 return m_bitfields.childNeedsOverflowRecalcAfterStyleChange(); |
| 817 } | 817 } |
| 818 | 818 |
| 819 bool isSelectionBorder() const; | 819 bool isSelectionBorder() const; |
| 820 | 820 |
| 821 bool hasClip() const { | 821 bool hasClip() const { |
| 822 return isOutOfFlowPositioned() && !style()->hasAutoClip(); | 822 return isOutOfFlowPositioned() && !style()->hasAutoClip(); |
| 823 } | 823 } |
| 824 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } | 824 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } |
| 825 bool hasClipRelatedProperty() const { | 825 bool hasClipRelatedProperty() const; |
| 826 return hasClip() || hasOverflowClip() || hasClipPath() || | |
| 827 style()->containsPaint(); | |
| 828 } | |
| 829 | 826 |
| 830 bool hasTransformRelatedProperty() const { | 827 bool hasTransformRelatedProperty() const { |
| 831 return m_bitfields.hasTransformRelatedProperty(); | 828 return m_bitfields.hasTransformRelatedProperty(); |
| 832 } | 829 } |
| 833 bool isTransformApplicable() const { return isBox() || isSVG(); } | 830 bool isTransformApplicable() const { return isBox() || isSVG(); } |
| 834 bool hasMask() const { return style() && style()->hasMask(); } | 831 bool hasMask() const { return style() && style()->hasMask(); } |
| 835 bool hasClipPath() const { return style() && style()->clipPath(); } | 832 bool hasClipPath() const { return style() && style()->clipPath(); } |
| 836 bool hasHiddenBackface() const { | 833 bool hasHiddenBackface() const { |
| 837 return style() && style()->backfaceVisibility() == BackfaceVisibilityHidden; | 834 return style() && style()->backfaceVisibility() == BackfaceVisibilityHidden; |
| 838 } | 835 } |
| (...skipping 1938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2777 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2774 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2778 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2775 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2779 // We don't make object2 an optional parameter so that showLayoutTree | 2776 // We don't make object2 an optional parameter so that showLayoutTree |
| 2780 // can be called from gdb easily. | 2777 // can be called from gdb easily. |
| 2781 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2778 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2782 const blink::LayoutObject* object2); | 2779 const blink::LayoutObject* object2); |
| 2783 | 2780 |
| 2784 #endif | 2781 #endif |
| 2785 | 2782 |
| 2786 #endif // LayoutObject_h | 2783 #endif // LayoutObject_h |
| OLD | NEW |