aboutsummaryrefslogtreecommitdiff
path: root/dw/table.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-07-21 20:57:48 +0200
committerSebastian Geerken <devnull@localhost>2014-07-21 20:57:48 +0200
commit26e47e9cef47b3e65087c88a303666e5a81b49b1 (patch)
tree39fba6ff5534f999ef03128a7de54c500c0942a9 /dw/table.hh
parentaa11a419fb632fcd2d5e3dd584cecc054c3906f3 (diff)
Table columns with percentage widths are treated specially (to mimic Firefox).
Diffstat (limited to 'dw/table.hh')
-rw-r--r--dw/table.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/dw/table.hh b/dw/table.hh
index 903b73d1..96769f40 100644
--- a/dw/table.hh
+++ b/dw/table.hh
@@ -385,6 +385,17 @@ private:
int numColWidthSpecified;
/**
+ * \brief Wether the column itself (in the future?) or at least one
+ * cell in this column or spanning over this column has CSS
+ * 'width' specified *as percentage value*.
+ *
+ * Filled by forceCalcColumnExtremes(), since it is needed to
+ * calculate the column widths.
+ */
+ lout::misc::SimpleVector<bool> *colWidthPercentage;
+ int numColWidthPercentage;
+
+ /**
* \brief The widths of all columns.
*/
lout::misc::SimpleVector<int> *colWidths;