Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: Source/core/rendering/RenderTableSection.h

Issue 744493002: Let RenderTable reach table cells needing overflow recalc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderTableRow.cpp ('k') | Source/core/rendering/RenderTableSection.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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. All rights reserv ed. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov erride; 78 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov erride;
79 79
80 virtual int firstLineBoxBaseline() const override; 80 virtual int firstLineBoxBaseline() const override;
81 81
82 void addCell(RenderTableCell*, RenderTableRow* row); 82 void addCell(RenderTableCell*, RenderTableRow* row);
83 83
84 int calcRowLogicalHeight(); 84 int calcRowLogicalHeight();
85 void layoutRows(); 85 void layoutRows();
86 void computeOverflowFromCells(); 86 void computeOverflowFromCells();
87 bool recalcChildOverflowAfterStyleChange();
87 88
88 RenderTable* table() const { return toRenderTable(parent()); } 89 RenderTable* table() const { return toRenderTable(parent()); }
89 90
90 typedef WillBeHeapVector<RawPtrWillBeMember<RenderTableCell>, 2> SpanningRen derTableCells; 91 typedef WillBeHeapVector<RawPtrWillBeMember<RenderTableCell>, 2> SpanningRen derTableCells;
91 92
92 struct CellStruct { 93 struct CellStruct {
93 ALLOW_ONLY_INLINE_ALLOCATION(); 94 ALLOW_ONLY_INLINE_ALLOCATION();
94 public: 95 public:
95 WillBeHeapVector<RawPtrWillBeMember<RenderTableCell>, 1> cells; 96 WillBeHeapVector<RawPtrWillBeMember<RenderTableCell>, 1> cells;
96 bool inColSpan; // true for columns after the first in a colspan 97 bool inColSpan; // true for columns after the first in a colspan
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 namespace WTF { 329 namespace WTF {
329 330
330 template<> struct VectorTraits<blink::RenderTableSection::RowStruct> : VectorTra itsBase<blink::RenderTableSection::RowStruct> { 331 template<> struct VectorTraits<blink::RenderTableSection::RowStruct> : VectorTra itsBase<blink::RenderTableSection::RowStruct> {
331 static const bool needsDestruction = false; 332 static const bool needsDestruction = false;
332 }; 333 };
333 334
334 } // namespace WTF 335 } // namespace WTF
335 #endif 336 #endif
336 337
337 #endif // RenderTableSection_h 338 #endif // RenderTableSection_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTableRow.cpp ('k') | Source/core/rendering/RenderTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698