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

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

Issue 2791433003: Fix Border collapsing with colpsan / rowspan cells
Patch Set: bug 2902 Created 3 years, 8 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/LayoutTable.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.h b/third_party/WebKit/Source/core/layout/LayoutTable.h
index 7d0ffa078a7cbd2a620cd2a3d3a513cbc42e709f..e4de4ee2fa755015d78f80d75e769ade94414a04 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.h
@@ -280,6 +280,7 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock {
// This function returns 0 if the table has no non-empty sections.
LayoutTableSection* TopNonEmptySection() const;
+ LayoutTableSection* BottomNonEmptySection() const;
unsigned LastEffectiveColumnIndex() const {
return NumEffectiveColumns() - 1;
@@ -379,6 +380,9 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock {
}
bool HasColElements() const { return has_col_elements_; }
+ static const unsigned npos = 0xFFFFFFFF;
+ unsigned ColElementToAbsoluteColumn(const LayoutTableCol*) const;
+
bool NeedsSectionRecalc() const { return needs_section_recalc_; }
void SetNeedsSectionRecalc() {
if (DocumentBeingDestroyed())

Powered by Google App Engine
This is Rietveld 408576698