Home
last modified time | relevance | path

Searched refs:isPercentage (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DLineClampValue.h48 bool isPercentage() const { return m_type == LineClampPercentage; } in isPercentage() function
54 return value() == o.value() && isPercentage() == o.isPercentage();
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DViewportStyleResolver.cpp142 if (primitiveValue->isPercentage()) { in viewportArgumentValue()
192 if (primitiveValue->isPercentage()) in viewportLengthValue()
DCSSToStyleMap.cpp576 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()
DFilterOperationResolver.cpp433 if (firstValue->isPercentage()) in createFilterOperations()
455 if (firstValue->isPercentage()) in createFilterOperations()
DStyleBuilderConverter.cpp109 ASSERT(primitiveValue->isNumber() || primitiveValue->isPercentage()); in convertNumberOrPercentage()
DFontBuilder.cpp326 …ription().setIsAbsoluteSize(parentIsAbsoluteSize || !(primitiveValue->isPercentage() || primitiveV… in setFontSizeValue()
329 else if (primitiveValue->isPercentage()) in setFontSizeValue()
DStyleBuilderCustom.cpp279 } else if (primitiveValue->isPercentage()) { in applyValueCSSPropertyLineHeight()
609 } else if (primitiveValue->isPercentage()) { in applyValueCSSPropertyZoom()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLDimension.h62 bool isPercentage() const { return m_type == Percentage; } in isPercentage() function
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderFrameSet.cpp205 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()
DRenderDeprecatedFlexibleBox.cpp909 …int numVisibleLines = lineClamp.isPercentage() ? max(1, (maxLineCount + 1) * lineClamp.value() / 1… in applyLineClamp()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSGradientValue.cpp146 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()
DCSSPrimitiveValue.h176 bool isPercentage() const { return primitiveType() == CSS_PERCENTAGE; } in isPercentage() function
DCSSPrimitiveValueMappings.h125 m_primitiveUnitType = i.isPercentage() ? CSS_PERCENTAGE : CSS_NUMBER; in CSSPrimitiveValue()
4449 if ((supported & PercentConversion) && isPercentage()) in convertToLength()
DCSSComputedStyleDeclaration.cpp2121 …aluePool().createValue(style->lineClamp().value(), style->lineClamp().isPercentage() ? CSSPrimitiv… in getPropertyCSSValue()
DCSSParser-in.cpp7793 if (!verticalSize && horizontalSize && horizontalSize->isPercentage()) in parseRadialGradient()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditingStyle.cpp1172 if (toCSSPrimitiveValue(value)->isPercentage()) { in mergeStyleFromRulesForSerialization()
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/
Dprototype-1.7.js3201 var isPercentage = value.include('%'), isViewport = (context === document.viewport);
3203 if (/\d/.test(value) && element && element.runtimeStyle && !(isPercentage && isViewport)) {
3214 if (element && isPercentage) {