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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 bool normalChildNeedsLayout() const { return m_bitfields.normalChildNeedsLay
out(); } | 592 bool normalChildNeedsLayout() const { return m_bitfields.normalChildNeedsLay
out(); } |
593 | 593 |
594 bool preferredLogicalWidthsDirty() const { return m_bitfields.preferredLogic
alWidthsDirty(); } | 594 bool preferredLogicalWidthsDirty() const { return m_bitfields.preferredLogic
alWidthsDirty(); } |
595 | 595 |
596 bool needsOverflowRecalcAfterStyleChange() const { return m_bitfields.selfNe
edsOverflowRecalcAfterStyleChange() || m_bitfields.childNeedsOverflowRecalcAfter
StyleChange(); } | 596 bool needsOverflowRecalcAfterStyleChange() const { return m_bitfields.selfNe
edsOverflowRecalcAfterStyleChange() || m_bitfields.childNeedsOverflowRecalcAfter
StyleChange(); } |
597 bool selfNeedsOverflowRecalcAfterStyleChange() const { return m_bitfields.se
lfNeedsOverflowRecalcAfterStyleChange(); } | 597 bool selfNeedsOverflowRecalcAfterStyleChange() const { return m_bitfields.se
lfNeedsOverflowRecalcAfterStyleChange(); } |
598 bool childNeedsOverflowRecalcAfterStyleChange() const { return m_bitfields.c
hildNeedsOverflowRecalcAfterStyleChange(); } | 598 bool childNeedsOverflowRecalcAfterStyleChange() const { return m_bitfields.c
hildNeedsOverflowRecalcAfterStyleChange(); } |
599 | 599 |
600 bool isSelectionBorder() const; | 600 bool isSelectionBorder() const; |
601 | 601 |
602 bool hasClip() const { return isOutOfFlowPositioned() && style()->hasClip();
} | 602 bool hasClip() const { return isOutOfFlowPositioned() && !style()->hasAutoCl
ip(); } |
603 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } | 603 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } |
604 bool hasClipOrOverflowClip() const { return hasClip() || hasOverflowClip();
} | 604 bool hasClipOrOverflowClip() const { return hasClip() || hasOverflowClip();
} |
605 | 605 |
606 bool hasTransform() const { return m_bitfields.hasTransform(); } | 606 bool hasTransform() const { return m_bitfields.hasTransform(); } |
607 bool hasMask() const { return style() && style()->hasMask(); } | 607 bool hasMask() const { return style() && style()->hasMask(); } |
608 bool hasClipPath() const { return style() && style()->clipPath(); } | 608 bool hasClipPath() const { return style() && style()->clipPath(); } |
609 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili
ty() == BackfaceVisibilityHidden; } | 609 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili
ty() == BackfaceVisibilityHidden; } |
610 | 610 |
611 bool hasFilter() const { return style() && style()->hasFilter(); } | 611 bool hasFilter() const { return style() && style()->hasFilter(); } |
612 | 612 |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1569 void showTree(const blink::RenderObject*); | 1569 void showTree(const blink::RenderObject*); |
1570 void showLineTree(const blink::RenderObject*); | 1570 void showLineTree(const blink::RenderObject*); |
1571 void showRenderTree(const blink::RenderObject* object1); | 1571 void showRenderTree(const blink::RenderObject* object1); |
1572 // We don't make object2 an optional parameter so that showRenderTree | 1572 // We don't make object2 an optional parameter so that showRenderTree |
1573 // can be called from gdb easily. | 1573 // can be called from gdb easily. |
1574 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1574 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1575 | 1575 |
1576 #endif | 1576 #endif |
1577 | 1577 |
1578 #endif // RenderObject_h | 1578 #endif // RenderObject_h |
OLD | NEW |