Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DAutoTableLayout.cpp97 … if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) { in recalcColumn()
114 …if (cellLogicalWidth.isPositive() && (!columnLayout.logicalWidth.isPercent() || cellLogicalWidth.v… in recalcColumn()
158 … if ((colLogicalWidth.isFixed() || colLogicalWidth.isPercent()) && colLogicalWidth.isZero()) in fullRecalc()
187 if ((tw.isAuto() || tw.isPercent()) && !table->isOutOfFlowPositioned()) { in shouldScaleColumns()
195 (cb->style()->width().isAuto() || cb->style()->width().isPercent())) { in shouldScaleColumns()
231 if (m_layoutStruct[i].effectiveLogicalWidth.isPercent()) { in computeIntrinsicLogicalWidths()
338 if (!columnLayout.effectiveLogicalWidth.isPercent()) { in calcEffectiveLogicalWidth()
356 if (cellLogicalWidth.isPercent()) { in calcEffectiveLogicalWidth()
367 if (!m_layoutStruct[pos].effectiveLogicalWidth.isPercent()) in calcEffectiveLogicalWidth()
372 if (!m_layoutStruct[pos].effectiveLogicalWidth.isPercent()) { in calcEffectiveLogicalWidth()
[all …]
DFixedTableLayout.cpp123 …if ((colStyleLogicalWidth.isFixed() || colStyleLogicalWidth.isPercent()) && colStyleLogicalWidth.i… in calcWidthArray()
198 if (m_table->style()->logicalWidth().isPercent() && maxWidth < tableMaxWidth) in applyPreferredLogicalWidthQuirks()
231 } else if (m_width[i].isPercent()) { in layout()
260 if (m_width[i].isPercent()) { in layout()
DRenderDeprecatedFlexibleBox.cpp378 …|| (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPerc… in layoutHorizontalBox()
677 …|| (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPerc… in layoutVerticalBox()
891 …|| (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPerc… in applyLineClamp()
989 …f ((child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPerc… in clearLineClamp()
DRenderSlider.cpp57 if (!style()->width().isPercent()) in computeIntrinsicLogicalWidths()
DRenderReplaced.cpp479 if (style()->logicalWidth().isPercent()) in computePreferredLogicalWidths()
485 if (styleToUse->logicalWidth().isPercent() || styleToUse->logicalMaxWidth().isPercent()) in computePreferredLogicalWidths()
DRenderTableSection.cpp67 if (!(cRowLogicalHeight.isPercent()) in updateLogicalHeightForCell()
68 … || (cRowLogicalHeight.isPercent() && cRowLogicalHeight.percent() < logicalHeight.percent())) in updateLogicalHeightForCell()
313 if (m_grid[row].logicalHeight.isPercent()) { in distributeExtraRowSpanHeightToPercentRows()
385 if (!m_grid[row].logicalHeight.isPercent()) { in distributeExtraRowSpanHeightToRemainingRows()
585 if (m_grid[row].logicalHeight.isPercent()) { in distributeRowSpanHeightToRows()
782 if (totalPercent > 0 && m_grid[r].logicalHeight.isPercent()) { in distributeExtraLogicalHeightToPercentRows()
854 else if (m_grid[r].logicalHeight.isPercent()) in distributeExtraLogicalHeightToRows()
934 if (!child->isText() && child->style()->logicalHeight().isPercent() in layoutRows()
DRenderImage.cpp218 …e = style()->logicalWidth().isPercent() || style()->logicalMaxWidth().isPercent() || style()->lo… in repaintOrMarkForLayout()
DRenderBox.cpp873 return style()->paddingStart().isPercent() || style()->paddingEnd().isPercent(); in needsPreferredWidthsRecalculation()
2573 bool paginatedContentNeedsBaseHeight = document().printing() && h.isPercent() in computeLogicalHeight()
2574 …) && document().documentElement()->renderer()->style()->logicalHeight().isPercent())) && !isInline… in computeLogicalHeight()
2631 if (height.isPercent()) in computeContentAndScrollbarLogicalHeightUsing()
2703 } else if (cbstyle->logicalHeight().isPercent() && !isOutOfFlowPositionedWithSpecifiedHeight) { in computePercentageLogicalHeight()
2748 …houldComputePreferred == ComputePreferred && style()->logicalMinWidth().isPercent()) || style()->l… in computeReplacedLogicalWidthRespectingMinMaxWidth()
2749 …houldComputePreferred == ComputePreferred && style()->logicalMaxWidth().isPercent()) || style()->l… in computeReplacedLogicalWidthRespectingMinMaxWidth()
2777 … if (cw > 0 || (!cw && (containerLogicalWidth.isFixed() || containerLogicalWidth.isPercent()))) in computeReplacedLogicalWidthUsing()
2847 …derView() && (cb->style()->logicalHeight().isAuto() || cb->style()->logicalHeight().isPercent())) { in computeReplacedLogicalHeightUsing()
2883 if (isTableCell() && (h.isAuto() || h.isPercent())) { in availableLogicalHeightUsing()
[all …]
DRenderView.cpp243 || child->style()->logicalHeight().isPercent() in layout()
244 || child->style()->logicalMinHeight().isPercent() in layout()
245 || child->style()->logicalMaxHeight().isPercent()) in layout()
DRenderFileUploadControl.cpp166 if (!style()->width().isPercent()) in computeIntrinsicLogicalWidths()
DRenderTextControl.cpp253 if (!style()->logicalWidth().isPercent()) in computeIntrinsicLogicalWidths()
DRenderBoxModelObject.cpp174 if (!logicalHeightLength.isPercent() || isOutOfFlowPositioned() || document().inQuirksMode()) in hasAutoHeightOrContainingBlockWithAutoHeight()
228 || !style()->top().isPercent() in relativePositionOffset()
234 || !style()->bottom().isPercent() in relativePositionOffset()
428 if (padding.isPercent()) in computedCSSPadding()
837 ASSERT(!intrinsicWidth.isPercent()); in calculateImageIntrinsicDimensions()
838 ASSERT(!intrinsicHeight.isPercent()); in calculateImageIntrinsicDimensions()
889 else if (layerWidth.isPercent()) in calculateFillTileSize()
894 else if (layerHeight.isPercent()) in calculateFillTileSize()
DRenderObject.cpp635 …OrAuto() || object->style()->height().isIntrinsicOrAuto() || object->style()->height().isPercent()) in objectIsRelayoutBoundary()
862 if (layer.xPosition().isPercent() && !layer.xPosition().isZero()) in mustInvalidateFillLayersPaintOnWidthChange()
874 if (layer.sizeLength().width().isPercent() && !layer.sizeLength().width().isZero()) in mustInvalidateFillLayersPaintOnWidthChange()
899 if (layer.yPosition().isPercent() && !layer.yPosition().isZero()) in mustInvalidateFillLayersPaintOnHeightChange()
911 if (layer.sizeLength().height().isPercent() && !layer.sizeLength().height().isZero()) in mustInvalidateFillLayersPaintOnHeightChange()
DRenderMenuList.cpp327 if (!style()->width().isPercent()) in computeIntrinsicLogicalWidths()
DRenderListBox.cpp231 if (!style()->width().isPercent()) in computeIntrinsicLogicalWidths()
DRootInlineBox.cpp773 if (renderer->style()->verticalAlignLength().isPercent()) in verticalPositionForBox()
DFastTextAutosizer.cpp844 if (specifiedWidth.isPercent()) { in widthFromBlock()
DRenderTable.cpp346 } else if (styleLogicalHeight.isPercent()) in convertStyleLogicalHeightToComputedHeight()
DRenderGrid.cpp608 …if (child->style()->logicalHeight().isPercent() || oldOverrideContainingBlockContentLogicalWidth !… in logicalHeightForChild()
DRenderBlock.cpp1254 if (logicalHeightLength.isPercent() && !document().inQuirksMode()) { in isSelfCollapsingBlock()
1264 …if (hasAutoHeight || ((logicalHeightLength.isFixed() || logicalHeightLength.isPercent()) && logica… in isSelfCollapsingBlock()
2723 if (style()->textIndent().isPercent()) in textIndentOffset()
DRenderInline.cpp708 if (margin.isPercent()) in computeMargin()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTranslateTransformOperation.h77 return m_x.isPercent() || m_y.isPercent(); in dependsOnBoxSize()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
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.cpp406 if (image.imageSlices().top().isPercent()) in valueForNinePieceImageSlice()
417 if (image.imageSlices().right().isPercent()) in valueForNinePieceImageSlice()
426 if (image.imageSlices().bottom().isPercent()) in valueForNinePieceImageSlice()
434 if (image.imageSlices().left().isPercent()) in valueForNinePieceImageSlice()
564 if (reflection->offset().isPercent()) in valueForReflection()
624 if (l.isPercent() && renderer && renderer->isBox()) { in valueForPositionOffset()
2069 if (marginRight.isPercent()) { in getPropertyCSSValue()

12