Home | History | Annotate | Download | only in rendering

Lines Matching refs:columnLayout

46     Layout& columnLayout = m_layoutStruct[effCol];
69 columnLayout.emptyCellsOnly = false;
73 columnLayout.minLogicalWidth = std::max<int>(columnLayout.minLogicalWidth, cellHasContent ? 1 : 0);
74 columnLayout.maxLogicalWidth = std::max<int>(columnLayout.maxLogicalWidth, 1);
77 columnLayout.minLogicalWidth = std::max<int>(cell->minPreferredLogicalWidth(), columnLayout.minLogicalWidth);
78 if (cell->maxPreferredLogicalWidth() > columnLayout.maxLogicalWidth) {
79 columnLayout.maxLogicalWidth = cell->maxPreferredLogicalWidth();
98 if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) {
100 if (columnLayout.logicalWidth.isFixed()) {
102 if ((logicalWidth > columnLayout.logicalWidth.value())
103 || ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) {
104 columnLayout.logicalWidth.setValue(Fixed, logicalWidth);
108 columnLayout.logicalWidth.setValue(Fixed, logicalWidth);
115 if (cellLogicalWidth.isPositive() && (!columnLayout.logicalWidth.isPercent() || cellLogicalWidth.value() > columnLayout.logicalWidth.value()))
116 columnLayout.logicalWidth = cellLogicalWidth;
130 if (columnLayout.logicalWidth.isFixed()) {
131 if (m_table->document().inQuirksMode() && columnLayout.maxLogicalWidth > columnLayout.logicalWidth.value() && fixedContributor != maxContributor) {
132 columnLayout.logicalWidth = Length();
137 columnLayout.maxLogicalWidth = std::max(columnLayout.maxLogicalWidth, columnLayout.minLogicalWidth);
314 Layout& columnLayout = m_layoutStruct[lastCol];
315 switch (columnLayout.logicalWidth.type()) {
317 totalPercent += columnLayout.logicalWidth.percent();
321 if (columnLayout.logicalWidth.value() > 0) {
322 fixedWidth += columnLayout.logicalWidth.value();
340 if (!columnLayout.effectiveLogicalWidth.isPercent()) {
341 columnLayout.effectiveLogicalWidth = Length();
344 totalPercent += columnLayout.effectiveLogicalWidth.percent();
347 if (!columnLayout.emptyCellsOnly)
350 spanMinLogicalWidth += columnLayout.effectiveMinLogicalWidth;
351 spanMaxLogicalWidth += columnLayout.effectiveMaxLogicalWidth;