| 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. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 bool selfNeedsOverflowRecalcAfterStyleChange() const { return m_bitfields.se
lfNeedsOverflowRecalcAfterStyleChange(); } | 705 bool selfNeedsOverflowRecalcAfterStyleChange() const { return m_bitfields.se
lfNeedsOverflowRecalcAfterStyleChange(); } |
| 706 bool childNeedsOverflowRecalcAfterStyleChange() const { return m_bitfields.c
hildNeedsOverflowRecalcAfterStyleChange(); } | 706 bool childNeedsOverflowRecalcAfterStyleChange() const { return m_bitfields.c
hildNeedsOverflowRecalcAfterStyleChange(); } |
| 707 | 707 |
| 708 bool isSelectionBorder() const; | 708 bool isSelectionBorder() const; |
| 709 | 709 |
| 710 bool hasClip() const { return isOutOfFlowPositioned() && !style()->hasAutoCl
ip(); } | 710 bool hasClip() const { return isOutOfFlowPositioned() && !style()->hasAutoCl
ip(); } |
| 711 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } | 711 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } |
| 712 bool hasClipRelatedProperty() const { return hasClip() || hasOverflowClip()
|| style()->containsPaint(); } | 712 bool hasClipRelatedProperty() const { return hasClip() || hasOverflowClip()
|| style()->containsPaint(); } |
| 713 | 713 |
| 714 bool hasTransformRelatedProperty() const { return m_bitfields.hasTransformRe
latedProperty(); } | 714 bool hasTransformRelatedProperty() const { return m_bitfields.hasTransformRe
latedProperty(); } |
| 715 bool isTransformApplicable() const { return isBox() || isSVG(); } |
| 715 bool hasMask() const { return style() && style()->hasMask(); } | 716 bool hasMask() const { return style() && style()->hasMask(); } |
| 716 bool hasClipPath() const { return style() && style()->clipPath(); } | 717 bool hasClipPath() const { return style() && style()->clipPath(); } |
| 717 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili
ty() == BackfaceVisibilityHidden; } | 718 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili
ty() == BackfaceVisibilityHidden; } |
| 718 bool hasBackdropFilter() const { return style() && style()->hasBackdropFilte
r(); } | 719 bool hasBackdropFilter() const { return style() && style()->hasBackdropFilte
r(); } |
| 719 | 720 |
| 720 // Returns |true| if any property that renders using filter operations is | 721 // Returns |true| if any property that renders using filter operations is |
| 721 // used (including, but not limited to, 'filter'). | 722 // used (including, but not limited to, 'filter'). |
| 722 bool hasFilterInducingProperty() const | 723 bool hasFilterInducingProperty() const |
| 723 { | 724 { |
| 724 return (style() && style()->hasFilter()) || (RuntimeEnabledFeatures::css
BoxReflectFilterEnabled() && hasReflection()); | 725 return (style() && style()->hasFilter()) || (RuntimeEnabledFeatures::css
BoxReflectFilterEnabled() && hasReflection()); |
| (...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2181 void showTree(const blink::LayoutObject*); | 2182 void showTree(const blink::LayoutObject*); |
| 2182 void showLineTree(const blink::LayoutObject*); | 2183 void showLineTree(const blink::LayoutObject*); |
| 2183 void showLayoutTree(const blink::LayoutObject* object1); | 2184 void showLayoutTree(const blink::LayoutObject* object1); |
| 2184 // We don't make object2 an optional parameter so that showLayoutTree | 2185 // We don't make object2 an optional parameter so that showLayoutTree |
| 2185 // can be called from gdb easily. | 2186 // can be called from gdb easily. |
| 2186 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2187 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2187 | 2188 |
| 2188 #endif | 2189 #endif |
| 2189 | 2190 |
| 2190 #endif // LayoutObject_h | 2191 #endif // LayoutObject_h |
| OLD | NEW |