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

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

Issue 1921973005: [css tables] Don't pass table width increase due to % columns to parents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge ToT Created 4 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/TableLayoutAlgorithm.h
diff --git a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithm.h b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithm.h
index ffc5cf4de6368dde22d52a48ff5d9f69d26f443f..15db7a8d23985aa0d23da23278f41b883eb004d6 100644
--- a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithm.h
+++ b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithm.h
@@ -21,12 +21,12 @@
#ifndef TableLayoutAlgorithm_h
#define TableLayoutAlgorithm_h
+#include "platform/LayoutUnit.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
namespace blink {
-class LayoutUnit;
class LayoutTable;
class TableLayoutAlgorithm {
@@ -40,6 +40,10 @@ public:
virtual ~TableLayoutAlgorithm() { }
virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) = 0;
+ virtual LayoutUnit scaledWidthFromPercentColumns()
+ {
+ return LayoutUnit(0);
+ }
virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const = 0;
virtual void layout() = 0;
virtual void willChangeTableLayout() = 0;

Powered by Google App Engine
This is Rietveld 408576698