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

Side by Side Diff: Source/core/rendering/RenderTable.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/RenderObject.cpp ('k') | Source/core/rendering/RenderTable.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, 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 273
274 virtual void paintMask(const PaintInfo&, const LayoutPoint&) override final; 274 virtual void paintMask(const PaintInfo&, const LayoutPoint&) override final;
275 275
276 const CollapsedBorderValues& collapsedBorders() { return m_collapsedBorders; } 276 const CollapsedBorderValues& collapsedBorders() { return m_collapsedBorders; }
277 void subtractCaptionRect(LayoutRect&) const; 277 void subtractCaptionRect(LayoutRect&) const;
278 void recalcCollapsedBorders(); 278 void recalcCollapsedBorders();
279 279
280 protected: 280 protected:
281 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov erride; 281 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov erride;
282 virtual void simplifiedNormalFlowLayout() override; 282 virtual void simplifiedNormalFlowLayout() override;
283 virtual bool recalcChildOverflowAfterStyleChange() override;
283 284
284 private: 285 private:
285 virtual const char* renderName() const override { return "RenderTable"; } 286 virtual const char* renderName() const override { return "RenderTable"; }
286 287
287 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectTable || RenderBlock::isOfType(type); } 288 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectTable || RenderBlock::isOfType(type); }
288 289
289 virtual void paintObject(const PaintInfo&, const LayoutPoint&) override; 290 virtual void paintObject(const PaintInfo&, const LayoutPoint&) override;
290 virtual void layout() override; 291 virtual void layout() override;
291 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) const override; 292 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) const override;
292 virtual void computePreferredLogicalWidths() override; 293 virtual void computePreferredLogicalWidths() override;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 if (m_firstBody) 360 if (m_firstBody)
360 return m_firstBody; 361 return m_firstBody;
361 return m_foot; 362 return m_foot;
362 } 363 }
363 364
364 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable()); 365 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable());
365 366
366 } // namespace blink 367 } // namespace blink
367 368
368 #endif // RenderTable_h 369 #endif // RenderTable_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | Source/core/rendering/RenderTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698