| 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, 2007, 2009, 2013 Apple Inc. All rights
reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple Inc. All rights
reserved. |
| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 int borderBefore() const override; | 174 int borderBefore() const override; |
| 175 int borderAfter() const override; | 175 int borderAfter() const override; |
| 176 | 176 |
| 177 void collectBorderValues(LayoutTable::CollapsedBorderValues&); | 177 void collectBorderValues(LayoutTable::CollapsedBorderValues&); |
| 178 static void sortBorderValues(LayoutTable::CollapsedBorderValues&); | 178 static void sortBorderValues(LayoutTable::CollapsedBorderValues&); |
| 179 | 179 |
| 180 void layout() override; | 180 void layout() override; |
| 181 | 181 |
| 182 void paint(const PaintInfo&, const LayoutPoint&) const override; | 182 void paint(const PaintInfo&, const LayoutPoint&) const override; |
| 183 | 183 |
| 184 LayoutUnit cellBaselinePosition() const; | 184 int cellBaselinePosition() const; |
| 185 bool isBaselineAligned() const | 185 bool isBaselineAligned() const |
| 186 { | 186 { |
| 187 EVerticalAlign va = style()->verticalAlign(); | 187 EVerticalAlign va = style()->verticalAlign(); |
| 188 return va == BASELINE || va == TEXT_BOTTOM || va == TEXT_TOP || va == SU
PER || va == SUB || va == LENGTH; | 188 return va == BASELINE || va == TEXT_BOTTOM || va == TEXT_TOP || va == SU
PER || va == SUB || va == LENGTH; |
| 189 } | 189 } |
| 190 | 190 |
| 191 void computeIntrinsicPadding(int rowHeight, SubtreeLayoutScope&); | 191 void computeIntrinsicPadding(int rowHeight, SubtreeLayoutScope&); |
| 192 void clearIntrinsicPadding() { setIntrinsicPadding(0, 0); } | 192 void clearIntrinsicPadding() { setIntrinsicPadding(0, 0); } |
| 193 | 193 |
| 194 int intrinsicPaddingBefore() const { return m_intrinsicPaddingBefore; } | 194 int intrinsicPaddingBefore() const { return m_intrinsicPaddingBefore; } |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 | 379 |
| 380 inline LayoutTableCell* LayoutTableRow::lastCell() const | 380 inline LayoutTableCell* LayoutTableRow::lastCell() const |
| 381 { | 381 { |
| 382 ASSERT(children() == virtualChildren()); | 382 ASSERT(children() == virtualChildren()); |
| 383 return toLayoutTableCell(children()->lastChild()); | 383 return toLayoutTableCell(children()->lastChild()); |
| 384 } | 384 } |
| 385 | 385 |
| 386 } // namespace blink | 386 } // namespace blink |
| 387 | 387 |
| 388 #endif // LayoutTableCell_h | 388 #endif // LayoutTableCell_h |
| OLD | NEW |