| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 if (style()->isHorizontalWritingMode()) | 116 if (style()->isHorizontalWritingMode()) |
| 117 return style()->isFlippedBlocksWritingMode() ? outerBorderBefore() :
outerBorderAfter(); | 117 return style()->isFlippedBlocksWritingMode() ? outerBorderBefore() :
outerBorderAfter(); |
| 118 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorde
rStart(); | 118 return style()->isLeftToRightDirection() ? outerBorderEnd() : outerBorde
rStart(); |
| 119 } | 119 } |
| 120 | 120 |
| 121 int calcBorderStart() const; | 121 int calcBorderStart() const; |
| 122 int calcBorderEnd() const; | 122 int calcBorderEnd() const; |
| 123 void recalcBordersInRowDirection(); | 123 void recalcBordersInRowDirection(); |
| 124 | 124 |
| 125 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov
erride; | 125 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov
erride; |
| 126 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild = 0) override; |
| 126 | 127 |
| 127 struct ColumnStruct { | 128 struct ColumnStruct { |
| 128 explicit ColumnStruct(unsigned initialSpan = 1) | 129 explicit ColumnStruct(unsigned initialSpan = 1) |
| 129 : span(initialSpan) | 130 : span(initialSpan) |
| 130 { | 131 { |
| 131 } | 132 } |
| 132 | 133 |
| 133 unsigned span; | 134 unsigned span; |
| 134 }; | 135 }; |
| 135 | 136 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 if (m_firstBody) | 360 if (m_firstBody) |
| 360 return m_firstBody; | 361 return m_firstBody; |
| 361 return m_foot; | 362 return m_foot; |
| 362 } | 363 } |
| 363 | 364 |
| 364 DEFINE_RENDER_OBJECT_TYPE_CASTS(LayoutTable, isTable()); | 365 DEFINE_RENDER_OBJECT_TYPE_CASTS(LayoutTable, isTable()); |
| 365 | 366 |
| 366 } // namespace blink | 367 } // namespace blink |
| 367 | 368 |
| 368 #endif // LayoutTable_h | 369 #endif // LayoutTable_h |
| OLD | NEW |