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. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. |
8 * All rights reserved. | 8 * All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 } | 116 } |
117 | 117 |
118 const BorderValue& borderAdjoiningStartCell(const LayoutTableCell*) const; | 118 const BorderValue& borderAdjoiningStartCell(const LayoutTableCell*) const; |
119 const BorderValue& borderAdjoiningEndCell(const LayoutTableCell*) const; | 119 const BorderValue& borderAdjoiningEndCell(const LayoutTableCell*) const; |
120 | 120 |
121 bool nodeAtPoint(HitTestResult&, | 121 bool nodeAtPoint(HitTestResult&, |
122 const HitTestLocation& locationInContainer, | 122 const HitTestLocation& locationInContainer, |
123 const LayoutPoint& accumulatedOffset, | 123 const LayoutPoint& accumulatedOffset, |
124 HitTestAction) override; | 124 HitTestAction) override; |
125 | 125 |
| 126 PaginationBreakability getPaginationBreakability() const final; |
| 127 |
126 void computeOverflow(); | 128 void computeOverflow(); |
127 | 129 |
128 const char* name() const override { return "LayoutTableRow"; } | 130 const char* name() const override { return "LayoutTableRow"; } |
129 | 131 |
130 // Whether a row has opaque background depends on many factors, e.g. border | 132 // Whether a row has opaque background depends on many factors, e.g. border |
131 // spacing, border collapsing, missing cells, etc. | 133 // spacing, border collapsing, missing cells, etc. |
132 // For simplicity, just conservatively assume all table rows are not opaque. | 134 // For simplicity, just conservatively assume all table rows are not opaque. |
133 bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect&, | 135 bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect&, |
134 unsigned) const override { | 136 unsigned) const override { |
135 return false; | 137 return false; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 return toLayoutTableRow(firstChild()); | 193 return toLayoutTableRow(firstChild()); |
192 } | 194 } |
193 | 195 |
194 inline LayoutTableRow* LayoutTableSection::lastRow() const { | 196 inline LayoutTableRow* LayoutTableSection::lastRow() const { |
195 return toLayoutTableRow(lastChild()); | 197 return toLayoutTableRow(lastChild()); |
196 } | 198 } |
197 | 199 |
198 } // namespace blink | 200 } // namespace blink |
199 | 201 |
200 #endif // LayoutTableRow_h | 202 #endif // LayoutTableRow_h |
OLD | NEW |