Home
last modified time | relevance | path

Searched refs:isPercentage (Results 1 – 24 of 24) 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();
DGridTrackSize.h99 …bool isPercentage() const { return m_type == LengthTrackSizing && length().isLength() && length().… in isPercentage() function
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DCSSToStyleMap.cpp509 if (slices->top()->isPercentage()) in mapNinePieceImageSlice()
513 if (slices->bottom()->isPercentage()) in mapNinePieceImageSlice()
517 if (slices->left()->isPercentage()) in mapNinePieceImageSlice()
521 if (slices->right()->isPercentage()) in mapNinePieceImageSlice()
535 if (value.isPercentage()) in toBorderImageLength()
DFilterOperationResolver.cpp148 if (firstValue->isPercentage()) in createFilterOperations()
170 if (firstValue->isPercentage()) in createFilterOperations()
DViewportStyleResolver.cpp135 if (primitiveValue->isPercentage()) { in viewportArgumentValue()
DFontBuilder.cpp323 …ription().setIsAbsoluteSize(parentIsAbsoluteSize || !(primitiveValue->isPercentage() || primitiveV… in setFontSizeValue()
324 if (primitiveValue->isPercentage()) { in setFontSizeValue()
DStyleBuilderConverter.cpp302 ASSERT(primitiveValue->isNumber() || primitiveValue->isPercentage()); in convertNumberOrPercentage()
DStyleBuilderCustom.cpp389 } else if (primitiveValue->isPercentage()) { in applyValueCSSPropertyLineHeight()
846 } 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.cpp203 if (grid[i].isPercentage()) { in layOutAxis()
241 if (grid[i].isPercentage()) { in layOutAxis()
285 if (grid[i].isPercentage()) { in layOutAxis()
317 if (grid[i].isPercentage()) { in layOutAxis()
DRenderDeprecatedFlexibleBox.cpp909 …int numVisibleLines = lineClamp.isPercentage() ? max(1, (maxLineCount + 1) * lineClamp.value() / 1… in applyLineClamp()
DRenderGrid.cpp592 if (trackSize.isPercentage()) { in gridTrackSize()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGParserUtilities.cpp236 bool isPercentage = (*ptr == '%'); in genericParseNumberOrPercentage() local
237 if (isPercentage) in genericParseNumberOrPercentage()
242 if (isPercentage) in genericParseNumberOrPercentage()
/external/chromium_org/third_party/WebKit/Source/core/animation/interpolation/
DDeferredLegacyStyleInterpolation.cpp61 …if (primitiveValue.isNumber() || primitiveValue.isPercentage() || primitiveValue.isAngle() || prim… in interpolationRequiresStyleResolve()
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DVTTCue.cpp958 bool isPercentage = input.scan('%'); in parseSettings() local
972 if (!numDigits || (isPercentage && isNegative)) in parseSettings()
982 if (isPercentage) { in parseSettings()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSGradientValue.cpp150 if (stop.m_position->isPercentage()) in addStops()
181 if (stop.m_position->isPercentage()) in addStops()
396 if (value->isPercentage()) in positionFromValue()
906 else if (widthOrHeight && radius->isPercentage()) in resolveRadius()
DCSSPrimitiveValue.h202 bool isPercentage() const { return primitiveType() == CSS_PERCENTAGE; } in isPercentage() function
DCSSBasicShapes.cpp98 && amount->isPercentage()) { in buildSerializablePositionOffset()
DCSSCalculationValue.cpp214 ASSERT(m_value->isPercentage()); in accumulatePixelsAndPercent()
DCSSPrimitiveValueMappings.h111 m_primitiveUnitType = i.isPercentage() ? CSS_PERCENTAGE : CSS_NUMBER; in CSSPrimitiveValue()
4211 if ((supported & PercentConversion) && isPercentage()) in convertToLength()
DCSSComputedStyleDeclaration.cpp2043 …aluePool().createValue(style->lineClamp().value(), style->lineClamp().isPercentage() ? CSSPrimitiv… in getPropertyCSSValue()
/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) {
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditingStyle.cpp1175 if (toCSSPrimitiveValue(value)->isPercentage()) { in mergeStyleFromRulesForSerialization()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DCSSPropertyParser.cpp6902 if (!verticalSize && horizontalSize && horizontalSize->isPercentage()) in parseRadialGradient()