OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights reserv
ed. |
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 virtual bool isTableRow() const OVERRIDE { return true; } | 102 virtual bool isTableRow() const OVERRIDE { return true; } |
103 | 103 |
104 virtual void willBeRemovedFromTree() OVERRIDE; | 104 virtual void willBeRemovedFromTree() OVERRIDE; |
105 | 105 |
106 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV
ERRIDE; | 106 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV
ERRIDE; |
107 virtual void layout() OVERRIDE; | 107 virtual void layout() OVERRIDE; |
108 | 108 |
109 virtual LayerType layerTypeRequired() const OVERRIDE | 109 virtual LayerType layerTypeRequired() const OVERRIDE |
110 { | 110 { |
111 if (hasTransform() || hasHiddenBackface() || hasClipPath() || createsGro
up() || isStickyPositioned() || style()->shouldCompositeForCurrentAnimations()) | 111 if (hasTransform() || hasHiddenBackface() || hasClipPath() || createsGro
up() || style()->shouldCompositeForCurrentAnimations()) |
112 return NormalLayer; | 112 return NormalLayer; |
113 | 113 |
114 if (hasOverflowClip()) | 114 if (hasOverflowClip()) |
115 return OverflowClipLayer; | 115 return OverflowClipLayer; |
116 | 116 |
117 return NoLayer; | 117 return NoLayer; |
118 } | 118 } |
119 | 119 |
120 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; | 120 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; |
121 | 121 |
(...skipping 28 matching lines...) Expand all Loading... |
150 | 150 |
151 inline RenderTableRow* RenderTableSection::lastRow() const | 151 inline RenderTableRow* RenderTableSection::lastRow() const |
152 { | 152 { |
153 ASSERT(children() == virtualChildren()); | 153 ASSERT(children() == virtualChildren()); |
154 return toRenderTableRow(children()->lastChild()); | 154 return toRenderTableRow(children()->lastChild()); |
155 } | 155 } |
156 | 156 |
157 } // namespace WebCore | 157 } // namespace WebCore |
158 | 158 |
159 #endif // RenderTableRow_h | 159 #endif // RenderTableRow_h |
OLD | NEW |