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