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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTableRow.h

Issue 2426553004: Clean up break-inside restriction propagation from table headers. (Closed)
Patch Set: Created 4 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
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. 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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698