Searched refs:isPercentage (Results 1 – 17 of 17) sorted by relevance
48 bool isPercentage() const { return m_type == LineClampPercentage; } in isPercentage() function54 return value() == o.value() && isPercentage() == o.isPercentage();
142 if (primitiveValue->isPercentage()) { in viewportArgumentValue()192 if (primitiveValue->isPercentage()) in viewportLengthValue()
576 if (slices->top()->isPercentage()) in mapNinePieceImageSlice()580 if (slices->bottom()->isPercentage()) in mapNinePieceImageSlice()584 if (slices->left()->isPercentage()) in mapNinePieceImageSlice()588 if (slices->right()->isPercentage()) in mapNinePieceImageSlice()602 if (value.isPercentage()) in toBorderImageLength()
433 if (firstValue->isPercentage()) in createFilterOperations()455 if (firstValue->isPercentage()) in createFilterOperations()
109 ASSERT(primitiveValue->isNumber() || primitiveValue->isPercentage()); in convertNumberOrPercentage()
326 …ription().setIsAbsoluteSize(parentIsAbsoluteSize || !(primitiveValue->isPercentage() || primitiveV… in setFontSizeValue()329 else if (primitiveValue->isPercentage()) in setFontSizeValue()
279 } else if (primitiveValue->isPercentage()) { in applyValueCSSPropertyLineHeight()609 } else if (primitiveValue->isPercentage()) { in applyValueCSSPropertyZoom()
62 bool isPercentage() const { return m_type == Percentage; } in isPercentage() function
205 if (grid[i].isPercentage()) { in layOutAxis()243 if (grid[i].isPercentage()) { in layOutAxis()287 if (grid[i].isPercentage()) { in layOutAxis()319 if (grid[i].isPercentage()) { in layOutAxis()
909 …int numVisibleLines = lineClamp.isPercentage() ? max(1, (maxLineCount + 1) * lineClamp.value() / 1… in applyLineClamp()
146 if (stop.m_position->isPercentage()) in addStops()179 if (stop.m_position->isPercentage()) in addStops()397 if (value->isPercentage()) in positionFromValue()891 else if (widthOrHeight && radius->isPercentage()) in resolveRadius()
176 bool isPercentage() const { return primitiveType() == CSS_PERCENTAGE; } in isPercentage() function
125 m_primitiveUnitType = i.isPercentage() ? CSS_PERCENTAGE : CSS_NUMBER; in CSSPrimitiveValue()4449 if ((supported & PercentConversion) && isPercentage()) in convertToLength()
2121 …aluePool().createValue(style->lineClamp().value(), style->lineClamp().isPercentage() ? CSSPrimitiv… in getPropertyCSSValue()
7793 if (!verticalSize && horizontalSize && horizontalSize->isPercentage()) in parseRadialGradient()
1172 if (toCSSPrimitiveValue(value)->isPercentage()) { in mergeStyleFromRulesForSerialization()
3201 var isPercentage = value.include('%'), isViewport = (context === document.viewport);3203 if (/\d/.test(value) && element && element.runtimeStyle && !(isPercentage && isViewport)) {3214 if (element && isPercentage) {