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 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 virtual int borderStart() const; | 114 virtual int borderStart() const; |
115 virtual int borderEnd() const; | 115 virtual int borderEnd() const; |
116 virtual int borderBefore() const; | 116 virtual int borderBefore() const; |
117 virtual int borderAfter() const; | 117 virtual int borderAfter() const; |
118 | 118 |
119 void collectBorderValues(RenderTable::CollapsedBorderValues&) const; | 119 void collectBorderValues(RenderTable::CollapsedBorderValues&) const; |
120 static void sortBorderValues(RenderTable::CollapsedBorderValues&); | 120 static void sortBorderValues(RenderTable::CollapsedBorderValues&); |
121 | 121 |
122 virtual void layout(); | 122 virtual void layout(); |
123 | 123 |
| 124 virtual bool supportsPartialLayout() const OVERRIDE { return false; } |
| 125 |
124 virtual void paint(PaintInfo&, const LayoutPoint&); | 126 virtual void paint(PaintInfo&, const LayoutPoint&); |
125 | 127 |
126 void paintCollapsedBorders(PaintInfo&, const LayoutPoint&); | 128 void paintCollapsedBorders(PaintInfo&, const LayoutPoint&); |
127 void paintBackgroundsBehindCell(PaintInfo&, const LayoutPoint&, RenderObject
* backgroundObject); | 129 void paintBackgroundsBehindCell(PaintInfo&, const LayoutPoint&, RenderObject
* backgroundObject); |
128 | 130 |
129 LayoutUnit cellBaselinePosition() const; | 131 LayoutUnit cellBaselinePosition() const; |
130 bool isBaselineAligned() const | 132 bool isBaselineAligned() const |
131 { | 133 { |
132 EVerticalAlign va = style()->verticalAlign(); | 134 EVerticalAlign va = style()->verticalAlign(); |
133 return va == BASELINE || va == TEXT_BOTTOM || va == TEXT_TOP || va == SU
PER || va == SUB || va == LENGTH; | 135 return va == BASELINE || va == TEXT_BOTTOM || va == TEXT_TOP || va == SU
PER || va == SUB || va == LENGTH; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableCell()); | 295 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableCell()); |
294 return static_cast<const RenderTableCell*>(object); | 296 return static_cast<const RenderTableCell*>(object); |
295 } | 297 } |
296 | 298 |
297 // This will catch anyone doing an unnecessary cast. | 299 // This will catch anyone doing an unnecessary cast. |
298 void toRenderTableCell(const RenderTableCell*); | 300 void toRenderTableCell(const RenderTableCell*); |
299 | 301 |
300 } // namespace WebCore | 302 } // namespace WebCore |
301 | 303 |
302 #endif // RenderTableCell_h | 304 #endif // RenderTableCell_h |
OLD | NEW |