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

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

Issue 2358663003: [css-tables] Set needsLayout on cells when table border width changes (Closed)
Patch Set: refactor some code into LayoutTable::markAllCellsWidthsDirty... Created 4 years, 3 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 8b52a09a3a9478d5d4484861585438f9aaaaad5b..45b03dbd0432d3d8c409a846a15b7514818ce2f0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.h
@@ -398,6 +398,9 @@ public:
// For simplicity, just conservatively assume foreground of all tables are not opaque.
bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect&, unsigned) const override { return false; }
+ enum WhatToMarkAllCells { MarkDirtyOnly, MarkDirtyAndNeedsLayout };
+ void markAllCellsWidthsDirtyAndOrNeedsLayout(WhatToMarkAllCells);
+
protected:
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
void simplifiedNormalFlowLayout() override;

Powered by Google App Engine
This is Rietveld 408576698