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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.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/LayoutTable.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.h b/third_party/WebKit/Source/core/layout/LayoutTable.h
index 09ac5911a0a9a7e58e472106b7f2094866f6b5e8..1a98e17758a218c9751510dc30fab2e06ffe7391 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.h
@@ -256,6 +256,13 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock {
LayoutTableSection* footer() const { return m_foot; }
LayoutTableSection* firstBody() const { return m_firstBody; }
+ void setRowOffsetFromRepeatingHeader(LayoutUnit offset) {
+ m_rowOffsetFromRepeatingHeader = offset;
+ }
+ LayoutUnit rowOffsetFromRepeatingHeader() const {
+ return m_rowOffsetFromRepeatingHeader;
+ }
+
// This function returns 0 if the table has no section.
LayoutTableSection* topSection() const;
LayoutTableSection* bottomSection() const;
@@ -575,6 +582,7 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock {
int m_borderEnd;
LayoutUnit m_blockOffsetToFirstRepeatableHeader;
+ LayoutUnit m_rowOffsetFromRepeatingHeader;
};
inline LayoutTableSection* LayoutTable::topSection() const {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutState.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698