Lines Matching defs:logicalWidth

91                         if (cellLogicalWidth.value() > 0 && columnLayout.logicalWidth.type() != Percent) {
92 int logicalWidth = cell->computeBorderBoxLogicalWidth(cellLogicalWidth.value());
93 if (columnLayout.logicalWidth.isFixed()) {
95 if ((logicalWidth > columnLayout.logicalWidth.value()) ||
96 ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) {
97 columnLayout.logicalWidth.setValue(logicalWidth);
101 columnLayout.logicalWidth.setValue(Fixed, logicalWidth);
108 if (cellLogicalWidth.isPositive() && (!columnLayout.logicalWidth.isPercent() || cellLogicalWidth.value() > columnLayout.logicalWidth.value()))
109 columnLayout.logicalWidth = cellLogicalWidth;
114 if (cellLogicalWidth.isAuto() || (cellLogicalWidth.isRelative() && cellLogicalWidth.value() > columnLayout.logicalWidth.value()))
115 columnLayout.logicalWidth = cellLogicalWidth;
131 if (columnLayout.logicalWidth.isFixed()) {
132 if (m_table->document()->inQuirksMode() && columnLayout.maxLogicalWidth > columnLayout.logicalWidth.value() && fixedContributor != maxContributor) {
133 columnLayout.logicalWidth = Length();
158 groupLogicalWidth = col->style()->logicalWidth();
160 Length colLogicalWidth = col->style()->logicalWidth();
167 m_layoutStruct[effCol].logicalWidth = colLogicalWidth;
244 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / max(percent, epsilon);
245 maxPercent = max(logicalWidth, maxPercent);
264 Length tableLogicalWidth = m_table->style()->logicalWidth();
286 m_layoutStruct[i].effectiveLogicalWidth = m_layoutStruct[i].logicalWidth;
316 switch (columnLayout.logicalWidth.type()) {
318 totalPercent += columnLayout.logicalWidth.percent();
322 if (columnLayout.logicalWidth.value() > 0) {
323 fixedWidth += columnLayout.logicalWidth.value();
392 int cellLogicalWidth = max(m_layoutStruct[pos].effectiveMinLogicalWidth, cellMinLogicalWidth * m_layoutStruct[pos].logicalWidth.value() / fixedWidth);
393 fixedWidth -= m_layoutStruct[pos].logicalWidth.value();
403 if (m_layoutStruct[pos].logicalWidth.isFixed() && haveAuto && fixedWidth <= cellMinLogicalWidth) {
404 int colMinLogicalWidth = max(m_layoutStruct[pos].effectiveMinLogicalWidth, m_layoutStruct[pos].logicalWidth.value());
405 fixedWidth -= m_layoutStruct[pos].logicalWidth.value();
414 if (!(m_layoutStruct[pos].logicalWidth.isFixed() && haveAuto && fixedWidth <= cellMinLogicalWidth)) {
483 int tableLogicalWidth = m_table->logicalWidth() - m_table->bordersPaddingAndSpacingInRowDirection();
510 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
511 switch (logicalWidth.type()) {
514 totalPercent += logicalWidth.percent();
517 totalRelative += logicalWidth.value();
541 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
542 if (logicalWidth.isPercent()) {
543 int cellLogicalWidth = max(m_layoutStruct[i].effectiveMinLogicalWidth, logicalWidth.calcMinValue(tableLogicalWidth));
568 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
569 if (logicalWidth.isFixed() && logicalWidth.value() > m_layoutStruct[i].computedLogicalWidth) {
570 available += m_layoutStruct[i].computedLogicalWidth - logicalWidth.value();
571 m_layoutStruct[i].computedLogicalWidth = logicalWidth.value();
579 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
580 if (logicalWidth.isRelative() && logicalWidth.value() != 0) {
582 int cellLogicalWidth = logicalWidth.value() * tableLogicalWidth / totalRelative;
593 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
594 if (logicalWidth.isAuto() && totalAuto && !m_layoutStruct[i].emptyCellsOnly) {
606 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
607 if (logicalWidth.isFixed()) {
619 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
620 if (logicalWidth.isPercent()) {
621 int cellLogicalWidth = available * logicalWidth.percent() / totalPercent;
623 totalPercent -= logicalWidth.percent();
658 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
659 if (logicalWidth.isAuto())
664 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
665 if (logicalWidth.isAuto()) {
680 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
681 if (logicalWidth.isRelative())
686 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
687 if (logicalWidth.isRelative()) {
702 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
703 if (logicalWidth.isFixed())
708 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
709 if (logicalWidth.isFixed()) {
724 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
725 if (logicalWidth.isPercent())
730 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth;
731 if (logicalWidth.isPercent()) {