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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 LayoutTableCol* slowColElement(unsigned col, bool* startEdge, bool* endEdge)
const; | 303 LayoutTableCol* slowColElement(unsigned col, bool* startEdge, bool* endEdge)
const; |
304 | 304 |
305 void updateColumnCache() const; | 305 void updateColumnCache() const; |
306 void invalidateCachedColumns(); | 306 void invalidateCachedColumns(); |
307 | 307 |
308 virtual void updateLogicalWidth() override; | 308 virtual void updateLogicalWidth() override; |
309 | 309 |
310 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica
lWidth, LayoutUnit availableWidth); | 310 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica
lWidth, LayoutUnit availableWidth); |
311 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi
calHeight); | 311 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi
calHeight); |
312 | 312 |
313 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro
llbarSizeRelevancy = IgnoreOverlayScrollbarSize) override; | 313 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro
llbarSizeRelevancy = IgnoreOverlayScrollbarSize) const override; |
314 | 314 |
315 virtual void addOverflowFromChildren() override; | 315 virtual void addOverflowFromChildren() override; |
316 | 316 |
317 void recalcSections() const; | 317 void recalcSections() const; |
318 void layoutCaption(LayoutTableCaption&); | 318 void layoutCaption(LayoutTableCaption&); |
319 | 319 |
320 void distributeExtraLogicalHeight(int extraLogicalHeight); | 320 void distributeExtraLogicalHeight(int extraLogicalHeight); |
321 | 321 |
322 void recalcCollapsedBordersIfNeeded(); | 322 void recalcCollapsedBordersIfNeeded(); |
323 | 323 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 if (m_firstBody) | 366 if (m_firstBody) |
367 return m_firstBody; | 367 return m_firstBody; |
368 return m_foot; | 368 return m_foot; |
369 } | 369 } |
370 | 370 |
371 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); | 371 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); |
372 | 372 |
373 } // namespace blink | 373 } // namespace blink |
374 | 374 |
375 #endif // LayoutTable_h | 375 #endif // LayoutTable_h |
OLD | NEW |