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

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

Issue 673533002: Table rows are not totally invalidated after r170349 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update first comment after Dan's review (forgot to do it) Created 6 years, 2 months 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
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 return style()->borderEnd(); 86 return style()->borderEnd();
87 87
88 return style()->borderStart(); 88 return style()->borderStart();
89 } 89 }
90 90
91 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const; 91 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const;
92 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const; 92 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const;
93 93
94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override; 94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override;
95 95
96 void addOverflowFromCell(const RenderTableCell*);
97
96 private: 98 private:
97 virtual RenderObjectChildList* virtualChildren() override { return children( ); } 99 virtual RenderObjectChildList* virtualChildren() override { return children( ); }
98 virtual const RenderObjectChildList* virtualChildren() const override { retu rn children(); } 100 virtual const RenderObjectChildList* virtualChildren() const override { retu rn children(); }
99 101
100 virtual const char* renderName() const override { return (isAnonymous() || i sPseudoElement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; } 102 virtual const char* renderName() const override { return (isAnonymous() || i sPseudoElement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; }
101 103
102 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectTableRow || RenderBox::isOfType(type); } 104 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectTableRow || RenderBox::isOfType(type); }
103 105
104 virtual void willBeRemovedFromTree() override; 106 virtual void willBeRemovedFromTree() override;
105 107
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 152
151 inline RenderTableRow* RenderTableSection::lastRow() const 153 inline RenderTableRow* RenderTableSection::lastRow() const
152 { 154 {
153 ASSERT(children() == virtualChildren()); 155 ASSERT(children() == virtualChildren());
154 return toRenderTableRow(children()->lastChild()); 156 return toRenderTableRow(children()->lastChild());
155 } 157 }
156 158
157 } // namespace blink 159 } // namespace blink
158 160
159 #endif // RenderTableRow_h 161 #endif // RenderTableRow_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/hover-invalidation-table-expected.txt ('k') | Source/core/rendering/RenderTableRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698