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, 2010 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 if (style()->isHorizontalWritingMode()) | 206 if (style()->isHorizontalWritingMode()) |
207 return style()->isFlippedBlocksWritingMode() ? outerBorderBefore() :
outerBorderAfter(); | 207 return style()->isFlippedBlocksWritingMode() ? outerBorderBefore() :
outerBorderAfter(); |
208 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorde
rStart(); | 208 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorde
rStart(); |
209 } | 209 } |
210 | 210 |
211 int calcBorderStart() const; | 211 int calcBorderStart() const; |
212 int calcBorderEnd() const; | 212 int calcBorderEnd() const; |
213 void recalcBordersInRowDirection(); | 213 void recalcBordersInRowDirection(); |
214 | 214 |
215 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; | 215 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; |
216 void addChildIgnoringContinuation(LayoutObject* newChild, LayoutObject* befo
reChild = nullptr) override; | |
217 | 216 |
218 struct ColumnStruct { | 217 struct ColumnStruct { |
219 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 218 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
220 explicit ColumnStruct(unsigned initialSpan = 1) | 219 explicit ColumnStruct(unsigned initialSpan = 1) |
221 : span(initialSpan) | 220 : span(initialSpan) |
222 { | 221 { |
223 } | 222 } |
224 | 223 |
225 unsigned span; | 224 unsigned span; |
226 }; | 225 }; |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 if (m_firstBody) | 514 if (m_firstBody) |
516 return m_firstBody; | 515 return m_firstBody; |
517 return m_foot; | 516 return m_foot; |
518 } | 517 } |
519 | 518 |
520 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); | 519 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); |
521 | 520 |
522 } // namespace blink | 521 } // namespace blink |
523 | 522 |
524 #endif // LayoutTable_h | 523 #endif // LayoutTable_h |
OLD | NEW |