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

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

Issue 2545243002: Don't repeat thead if the first row exceeds the height of the page (Closed)
Patch Set: bug 669690 Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTableSection.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.h b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
index 5c0b9f709abc48d4a51a338860def83cb4f00e89..9306ad5b4c0bf6a10d1ebdb7c42de2d8577b185d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
@@ -318,11 +318,11 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
int paginationStrutForRow(LayoutTableRow*, LayoutUnit logicalOffset) const;
- void setOffsetForRepeatingHeader(LayoutUnit offset) {
- m_offsetForRepeatingHeader = offset;
+ void setRowOffsetFromRepeatingHeader(LayoutUnit offset) {
+ m_rowOffsetFromRepeatingHeader = offset;
}
- LayoutUnit offsetForRepeatingHeader() const {
- return m_offsetForRepeatingHeader;
+ LayoutUnit rowOffsetFromRepeatingHeader() const {
+ return m_rowOffsetFromRepeatingHeader;
}
bool mapToVisualRectInAncestorSpace(
@@ -471,7 +471,7 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
// invalidated cells.
bool m_hasMultipleCellLevels;
- LayoutUnit m_offsetForRepeatingHeader;
+ LayoutUnit m_rowOffsetFromRepeatingHeader;
mstensho (USE GERRIT) 2016/12/12 19:22:40 This should be stored in LayoutTable instead.
};
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection());

Powered by Google App Engine
This is Rietveld 408576698