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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 return m_bitfields.childNeedsOverflowRecalcAfterStyleChange(); | 798 return m_bitfields.childNeedsOverflowRecalcAfterStyleChange(); |
799 } | 799 } |
800 | 800 |
801 bool isSelectionBorder() const; | 801 bool isSelectionBorder() const; |
802 | 802 |
803 bool hasClip() const { | 803 bool hasClip() const { |
804 return isOutOfFlowPositioned() && !style()->hasAutoClip(); | 804 return isOutOfFlowPositioned() && !style()->hasAutoClip(); |
805 } | 805 } |
806 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } | 806 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } |
807 bool hasClipRelatedProperty() const { | 807 bool hasClipRelatedProperty() const { |
808 return hasClip() || hasOverflowClip() || style()->containsPaint(); | 808 return hasClip() || hasOverflowClip() || hasClipPath() || |
| 809 style()->containsPaint(); |
809 } | 810 } |
810 | 811 |
811 bool hasTransformRelatedProperty() const { | 812 bool hasTransformRelatedProperty() const { |
812 return m_bitfields.hasTransformRelatedProperty(); | 813 return m_bitfields.hasTransformRelatedProperty(); |
813 } | 814 } |
814 bool isTransformApplicable() const { return isBox() || isSVG(); } | 815 bool isTransformApplicable() const { return isBox() || isSVG(); } |
815 bool hasMask() const { return style() && style()->hasMask(); } | 816 bool hasMask() const { return style() && style()->hasMask(); } |
816 bool hasClipPath() const { return style() && style()->clipPath(); } | 817 bool hasClipPath() const { return style() && style()->clipPath(); } |
817 bool hasHiddenBackface() const { | 818 bool hasHiddenBackface() const { |
818 return style() && style()->backfaceVisibility() == BackfaceVisibilityHidden; | 819 return style() && style()->backfaceVisibility() == BackfaceVisibilityHidden; |
(...skipping 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2656 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2657 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2657 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2658 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2658 // We don't make object2 an optional parameter so that showLayoutTree | 2659 // We don't make object2 an optional parameter so that showLayoutTree |
2659 // can be called from gdb easily. | 2660 // can be called from gdb easily. |
2660 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2661 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2661 const blink::LayoutObject* object2); | 2662 const blink::LayoutObject* object2); |
2662 | 2663 |
2663 #endif | 2664 #endif |
2664 | 2665 |
2665 #endif // LayoutObject_h | 2666 #endif // LayoutObject_h |
OLD | NEW |