From 26e47e9cef47b3e65087c88a303666e5a81b49b1 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Mon, 21 Jul 2014 20:57:48 +0200 Subject: Table columns with percentage widths are treated specially (to mimic Firefox). --- dw/table.hh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'dw/table.hh') diff --git a/dw/table.hh b/dw/table.hh index 903b73d1..96769f40 100644 --- a/dw/table.hh +++ b/dw/table.hh @@ -384,6 +384,17 @@ private: lout::misc::SimpleVector *colWidthSpecified; 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 *colWidthPercentage; + int numColWidthPercentage; + /** * \brief The widths of all columns. */ -- cgit v1.2.3