Home
last modified time | relevance | path

Searched refs:isPercent (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DAutoTableLayout.cpp98 … if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) { in recalcColumn()
115 …if (cellLogicalWidth.isPositive() && (!columnLayout.logicalWidth.isPercent() || cellLogicalWidth.v… in recalcColumn()
159 … if ((colLogicalWidth.isFixed() || colLogicalWidth.isPercent()) && colLogicalWidth.isZero()) in fullRecalc()
188 if ((tw.isAuto() || tw.isPercent()) && !table->isOutOfFlowPositioned()) { in shouldScaleColumns()
196 (cb->style()->width().isAuto() || cb->style()->width().isPercent())) { in shouldScaleColumns()
232 if (m_layoutStruct[i].effectiveLogicalWidth.isPercent()) { in computeIntrinsicLogicalWidths()
340 if (!columnLayout.effectiveLogicalWidth.isPercent()) { in calcEffectiveLogicalWidth()
358 if (cellLogicalWidth.isPercent()) { in calcEffectiveLogicalWidth()
369 if (!m_layoutStruct[pos].effectiveLogicalWidth.isPercent()) in calcEffectiveLogicalWidth()
374 if (!m_layoutStruct[pos].effectiveLogicalWidth.isPercent()) { in calcEffectiveLogicalWidth()
[all …]
DFixedTableLayout.cpp121 …if ((colStyleLogicalWidth.isFixed() || colStyleLogicalWidth.isPercent()) && colStyleLogicalWidth.i… in calcWidthArray()
201 if (m_table->style()->logicalWidth().isPercent() && maxWidth < tableMaxWidth) in applyPreferredLogicalWidthQuirks()
234 } else if (m_width[i].isPercent()) { in layout()
263 if (m_width[i].isPercent()) { in layout()
DRenderBoxModelObject.cpp167 if (!logicalHeightLength.isPercent() || isOutOfFlowPositioned() || document().inQuirksMode()) in hasAutoHeightOrContainingBlockWithAutoHeight()
222 || !style()->top().isPercent() in relativePositionOffset()
228 || !style()->bottom().isPercent() in relativePositionOffset()
309 if (padding.isPercent()) in computedCSSPadding()
374 ASSERT(!intrinsicWidth.isPercent()); in calculateImageIntrinsicDimensions()
375 ASSERT(!intrinsicHeight.isPercent()); in calculateImageIntrinsicDimensions()
DRenderDeprecatedFlexibleBox.cpp362 …|| (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPerc… in layoutHorizontalBox()
661 …|| (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPerc… in layoutVerticalBox()
875 …|| (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPerc… in applyLineClamp()
973 …f ((child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPerc… in clearLineClamp()
DRenderImage.cpp217 …ze = style()->logicalWidth().isPercent() || style()->logicalMaxWidth().isPercent() || style()->lo… in paintInvalidationOrMarkForLayout()
DRenderTableSection.cpp65 if (!(cRowLogicalHeight.isPercent()) in updateLogicalHeightForCell()
66 … || (cRowLogicalHeight.isPercent() && cRowLogicalHeight.percent() < logicalHeight.percent())) in updateLogicalHeightForCell()
334 if (m_grid[row].logicalHeight.isPercent()) { in distributeExtraRowSpanHeightToPercentRows()
376 if (m_grid[row].logicalHeight.isPercent()) { in distributeWholeExtraRowSpanHeightToPercentRows()
442 if (!m_grid[row].logicalHeight.isPercent()) { in distributeExtraRowSpanHeightToRemainingRows()
642 if (m_grid[row].logicalHeight.isPercent()) { in distributeRowSpanHeightToRows()
844 if (totalPercent > 0 && m_grid[r].logicalHeight.isPercent()) { in distributeExtraLogicalHeightToPercentRows()
916 else if (m_grid[r].logicalHeight.isPercent()) in distributeExtraLogicalHeightToRows()
996 if (!child->isText() && child->style()->logicalHeight().isPercent() in layoutRows()
DRenderListBox.cpp148 if (style()->width().isPercent()) in computeIntrinsicLogicalWidths()
DRenderSlider.cpp59 if (!style()->width().isPercent()) in computeIntrinsicLogicalWidths()
DRenderReplaced.cpp445 if (style()->logicalWidth().isPercent()) in computePreferredLogicalWidths()
451 if (styleToUse->logicalWidth().isPercent() || styleToUse->logicalMaxWidth().isPercent()) in computePreferredLogicalWidths()
DRenderBox.cpp852 return style()->paddingStart().isPercent() || style()->paddingEnd().isPercent(); in needsPreferredWidthsRecalculation()
2301 bool paginatedContentNeedsBaseHeight = document().printing() && h.isPercent() in computeLogicalHeight()
2302 …) && document().documentElement()->renderer()->style()->logicalHeight().isPercent())) && !isInline… in computeLogicalHeight()
2359 if (height.isPercent()) in computeContentAndScrollbarLogicalHeightUsing()
2431 } else if (cbstyle->logicalHeight().isPercent() && !isOutOfFlowPositionedWithSpecifiedHeight) { in computePercentageLogicalHeight()
2479 …houldComputePreferred == ComputePreferred && style()->logicalMinWidth().isPercent()) || style()->l… in computeReplacedLogicalWidthRespectingMinMaxWidth()
2480 …houldComputePreferred == ComputePreferred && style()->logicalMaxWidth().isPercent()) || style()->l… in computeReplacedLogicalWidthRespectingMinMaxWidth()
2508 … if (cw > 0 || (!cw && (containerLogicalWidth.isFixed() || containerLogicalWidth.isPercent()))) in computeReplacedLogicalWidthUsing()
2541 if (!logicalHeight.isPercent() || isOutOfFlowPositioned()) in logicalHeightComputesAsNone()
2605 …derView() && (cb->style()->logicalHeight().isAuto() || cb->style()->logicalHeight().isPercent())) { in computeReplacedLogicalHeightUsing()
[all …]
DRenderView.cpp209 || child->style()->logicalHeight().isPercent() in layout()
210 || child->style()->logicalMinHeight().isPercent() in layout()
211 || child->style()->logicalMaxHeight().isPercent()) in layout()
DRenderFileUploadControl.cpp166 if (!style()->width().isPercent()) in computeIntrinsicLogicalWidths()
DRenderTextControl.cpp251 if (!style()->logicalWidth().isPercent()) in computeIntrinsicLogicalWidths()
DRenderObject.cpp684 …OrAuto() || object->style()->height().isIntrinsicOrAuto() || object->style()->height().isPercent()) in objectIsRelayoutBoundary()
883 if (layer.xPosition().isPercent() && !layer.xPosition().isZero()) in mustInvalidateFillLayersPaintOnWidthChange()
895 if (layer.sizeLength().width().isPercent() && !layer.sizeLength().width().isZero()) in mustInvalidateFillLayersPaintOnWidthChange()
920 if (layer.yPosition().isPercent() && !layer.yPosition().isZero()) in mustInvalidateFillLayersPaintOnHeightChange()
932 if (layer.sizeLength().height().isPercent() && !layer.sizeLength().height().isZero()) in mustInvalidateFillLayersPaintOnHeightChange()
DRenderMenuList.cpp341 if (!style()->width().isPercent()) in computeIntrinsicLogicalWidths()
DTextAutosizer.cpp841 if (specifiedWidth.isPercent()) { in widthFromBlock()
DRootInlineBox.cpp766 if (renderer->style()->verticalAlignLength().isPercent()) in verticalPositionForBox()
DRenderTable.cpp344 } else if (styleLogicalHeight.isPercent()) in convertStyleLogicalHeightToComputedHeight()
DRenderInline.cpp726 if (margin.isPercent()) in computeMargin()
DRenderBlock.cpp1279 if (logicalHeightLength.isPercent() && !document().inQuirksMode()) { in isSelfCollapsingBlock()
1289 …if (hasAutoHeight || ((logicalHeightLength.isFixed() || logicalHeightLength.isPercent()) && logica… in isSelfCollapsingBlock()
2328 if (style()->textIndent().isPercent()) in textIndentOffset()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTranslateTransformOperation.h75 return m_x.isPercent() || m_y.isPercent(); in dependsOnBoxSize()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DGridLength.h63 bool isPercentage() const { return m_type == LengthType && m_length.isPercent(); } in isPercentage()
DGridTrackSize.h99 …nst { return m_type == LengthTrackSizing && length().isLength() && length().length().isPercent(); } in isPercentage()
/external/chromium_org/third_party/WebKit/Source/platform/
DLength.h275 bool isPercent() const { return type() == Percent || type() == Calculated; } in isPercent() function
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSComputedStyleDeclaration.cpp405 if (image.imageSlices().top().isPercent()) in valueForNinePieceImageSlice()
416 if (image.imageSlices().right().isPercent()) in valueForNinePieceImageSlice()
425 if (image.imageSlices().bottom().isPercent()) in valueForNinePieceImageSlice()
433 if (image.imageSlices().left().isPercent()) in valueForNinePieceImageSlice()
563 if (reflection->offset().isPercent()) in valueForReflection()
623 if (l.isPercent() && renderer && renderer->isBox()) { in valueForPositionOffset()
2040 if (marginRight.isPercent()) { in getPropertyCSSValue()

12