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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableRow || LayoutBox::isOfType(type); } | 135 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableRow || LayoutBox::isOfType(type); } |
136 | 136 |
137 void willBeRemovedFromTree() override; | 137 void willBeRemovedFromTree() override; |
138 | 138 |
139 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; | 139 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; |
140 void layout() override; | 140 void layout() override; |
141 | 141 |
142 PaintLayerType layerTypeRequired() const override | 142 PaintLayerType layerTypeRequired() const override |
143 { | 143 { |
144 if (hasTransformRelatedProperty() || hasHiddenBackface() || hasClipPath(
) || createsGroup() || style()->shouldCompositeForCurrentAnimations() || style()
->hasCompositorProxy()) | 144 if (hasTransformRelatedProperty() || hasHiddenBackface() || hasClipPath(
) || createsGroup() || style()->shouldCompositeForCurrentAnimations() || isStick
yPositioned() || style()->hasCompositorProxy()) |
145 return NormalPaintLayer; | 145 return NormalPaintLayer; |
146 | 146 |
147 if (hasOverflowClip()) | 147 if (hasOverflowClip()) |
148 return OverflowClipPaintLayer; | 148 return OverflowClipPaintLayer; |
149 | 149 |
150 return NoPaintLayer; | 150 return NoPaintLayer; |
151 } | 151 } |
152 | 152 |
153 void paint(const PaintInfo&, const LayoutPoint&) const override; | 153 void paint(const PaintInfo&, const LayoutPoint&) const override; |
154 | 154 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 187 |
188 inline LayoutTableRow* LayoutTableSection::lastRow() const | 188 inline LayoutTableRow* LayoutTableSection::lastRow() const |
189 { | 189 { |
190 ASSERT(children() == virtualChildren()); | 190 ASSERT(children() == virtualChildren()); |
191 return toLayoutTableRow(children()->lastChild()); | 191 return toLayoutTableRow(children()->lastChild()); |
192 } | 192 } |
193 | 193 |
194 } // namespace blink | 194 } // namespace blink |
195 | 195 |
196 #endif // LayoutTableRow_h | 196 #endif // LayoutTableRow_h |
OLD | NEW |