|
Lines 5666-5672
void RenderBlock::computePreferredLogicalWidths()
a/Source/WebCore/rendering/RenderBlock.cpp_sec1
|
| 5666 |
|
5666 |
|
| 5667 |
RenderStyle* styleToUse = style(); |
5667 |
RenderStyle* styleToUse = style(); |
| 5668 |
if (!isTableCell() && styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0 |
5668 |
if (!isTableCell() && styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0 |
| 5669 |
&& !(isDeprecatedFlexItem() && !styleToUse->logicalWidth().intValue())) |
5669 |
&& !(isDeprecatedFlexItem() && !styleToUse->logicalWidth().intValue()) |
|
|
5670 |
&& !styleToUse->logicalMinWidth().isMinContent() && !styleToUse->logicalMaxWidth().isMinContent() |
| 5671 |
&& !styleToUse->logicalMinWidth().isMaxContent() && !styleToUse->logicalMaxWidth().isMaxContent()) |
| 5670 |
m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value()); |
5672 |
m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value()); |
| 5671 |
else { |
5673 |
else { |
| 5672 |
m_minPreferredLogicalWidth = 0; |
5674 |
m_minPreferredLogicalWidth = 0; |