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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCol.h

Issue 2884573002: Replace LayoutTableCell::AbsoluteColumnIndex() with EffectiveColumnIndex()
Patch Set: - Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTableCol.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCol.h b/third_party/WebKit/Source/core/layout/LayoutTableCol.h
index f56463546082d0f6a3bc219d24d9f96b315bc87d..f4a112379cd13af875669ad948dd2edf19851801 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCol.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCol.h
@@ -67,7 +67,6 @@ class LayoutTableCol final : public LayoutTableBoxComponent {
// For CSS table columns or colgroups, this is always 1.
unsigned Span() const { return span_; }
- bool IsTableColumnGroupWithColumnChildren() { return FirstChild(); }
bool IsTableColumn() const {
return Style()->Display() == EDisplay::kTableColumn;
}
@@ -80,6 +79,9 @@ class LayoutTableCol final : public LayoutTableBoxComponent {
// Returns the next column or column-group.
LayoutTableCol* NextColumn() const;
+ bool IsInnermost() { return !FirstChild(); }
+ LayoutTableCol* NextInnermostColumn() const;
+
BorderValue BorderAdjoiningCellStartBorder(const LayoutTableCell*) const;
BorderValue BorderAdjoiningCellEndBorder(const LayoutTableCell*) const;
BorderValue BorderAdjoiningCellBefore(const LayoutTableCell*) const;

Powered by Google App Engine
This is Rietveld 408576698