summaryrefslogtreecommitdiffstats
path: root/layout/tables/nsITableCellLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'layout/tables/nsITableCellLayout.h')
-rw-r--r--layout/tables/nsITableCellLayout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/layout/tables/nsITableCellLayout.h b/layout/tables/nsITableCellLayout.h
index e761d76be..a366b150e 100644
--- a/layout/tables/nsITableCellLayout.h
+++ b/layout/tables/nsITableCellLayout.h
@@ -7,6 +7,10 @@
#include "nsQueryFrame.h"
+#define MAX_ROWSPAN 65534 // the cellmap can not handle more.
+#define MAX_COLSPAN 1000 // limit as IE and opera do. If this ever changes,
+// change COL_SPAN_OFFSET/COL_SPAN_SHIFT accordingly.
+
/**
* nsITableCellLayout
* interface for layout objects that act like table cells.