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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 | 699 |
700 // Set the style of the object if it's generated content. | 700 // Set the style of the object if it's generated content. |
701 void setPseudoStyle(PassRefPtr<RenderStyle>); | 701 void setPseudoStyle(PassRefPtr<RenderStyle>); |
702 | 702 |
703 // Updates only the local style ptr of the object. Does not update the stat
e of the object, | 703 // Updates only the local style ptr of the object. Does not update the stat
e of the object, |
704 // and so only should be called when the style is known not to have changed
(or from setStyle). | 704 // and so only should be called when the style is known not to have changed
(or from setStyle). |
705 void setStyleInternal(PassRefPtr<RenderStyle> style) { m_style = style; } | 705 void setStyleInternal(PassRefPtr<RenderStyle> style) { m_style = style; } |
706 | 706 |
707 // returns the containing block level element for this element. | 707 // returns the containing block level element for this element. |
708 RenderBlock* containingBlock() const; | 708 RenderBlock* containingBlock() const; |
709 RenderObject* clippingContainer() const; | 709 RenderObject* clippingContainer(); |
710 | 710 |
711 bool canContainFixedPositionObjects() const | 711 bool canContainFixedPositionObjects() const |
712 { | 712 { |
713 return isRenderView() || (hasTransform() && isRenderBlock()) || isSVGFor
eignObject() || isOutOfFlowRenderFlowThread(); | 713 return isRenderView() || (hasTransform() && isRenderBlock()) || isSVGFor
eignObject() || isOutOfFlowRenderFlowThread(); |
714 } | 714 } |
715 bool canContainAbsolutePositionObjects() const | 715 bool canContainAbsolutePositionObjects() const |
716 { | 716 { |
717 return isRenderView() || (hasTransform() && isRenderBlock()) || isSVGFor
eignObject(); | 717 return isRenderView() || (hasTransform() && isRenderBlock()) || isSVGFor
eignObject(); |
718 } | 718 } |
719 | 719 |
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1410 void showTree(const WebCore::RenderObject*); | 1410 void showTree(const WebCore::RenderObject*); |
1411 void showLineTree(const WebCore::RenderObject*); | 1411 void showLineTree(const WebCore::RenderObject*); |
1412 void showRenderTree(const WebCore::RenderObject* object1); | 1412 void showRenderTree(const WebCore::RenderObject* object1); |
1413 // We don't make object2 an optional parameter so that showRenderTree | 1413 // We don't make object2 an optional parameter so that showRenderTree |
1414 // can be called from gdb easily. | 1414 // can be called from gdb easily. |
1415 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1415 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
1416 | 1416 |
1417 #endif | 1417 #endif |
1418 | 1418 |
1419 #endif // RenderObject_h | 1419 #endif // RenderObject_h |
OLD | NEW |