Percent 88 Source/core/animation/AnimatableLength.cpp return Length(clampedNumber(range), Percent); Percent 177 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(-5, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1)); Percent 178 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(-5, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3)); Percent 179 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(0, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1, NonNegativeValues)); Percent 180 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(0, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3, NonNegativeValues)); Percent 186 Source/core/animation/AnimatableLengthTest.cpp adoptPtr(new CalcExpressionLength(Length(-5, Percent))), Percent 194 Source/core/animation/AnimatableLengthTest.cpp adoptPtr(new CalcExpressionLength(Length(-5, Percent))), Percent 202 Source/core/animation/AnimatableLengthTest.cpp adoptPtr(new CalcExpressionLength(Length(-5, Percent))), Percent 210 Source/core/animation/AnimatableLengthTest.cpp adoptPtr(new CalcExpressionLength(Length(-5, Percent))), Percent 240 Source/core/animation/CompositorAnimationsTest.cpp ops.operations().append(TranslateTransformOperation::create(Length(50, WebCore::Percent), Length(2, WebCore::Fixed), TransformOperation::TranslateX)); Percent 245 Source/core/animation/CompositorAnimationsTest.cpp Length calcLength = Length(100, WebCore::Percent).blend(Length(100, WebCore::Fixed), 0.5, WebCore::ValueRangeAll); Percent 70 Source/core/animation/css/CSSAnimatableValueFactory.cpp case Percent: Percent 96 Source/core/animation/css/CSSAnimatableValueFactory.cpp if (length.type() == Percent) { Percent 175 Source/core/css/BasicShapeFunctions.cpp offset = Length(50, Percent); Percent 96 Source/core/css/CSSBasicShapes.cpp amount = cssValuePool().createValue(Length(50, Percent)); Percent 100 Source/core/css/CSSBasicShapes.cpp amount = cssValuePool().createValue(Length(100 - amount->getFloatValue(), Percent)); Percent 103 Source/core/css/CSSBasicShapes.cpp amount = cssValuePool().createValue(Length(100, Percent)); Percent 105 Source/core/css/CSSBasicShapes.cpp amount = cssValuePool().createValue(Length(0, Percent)); Percent 721 Source/core/css/CSSCalculationValue.cpp case Percent: Percent 651 Source/core/css/CSSComputedStyleDeclaration.cpp if (radius.width().type() == Percent) Percent 655 Source/core/css/CSSComputedStyleDeclaration.cpp if (radius.height().type() == Percent) Percent 321 Source/core/css/CSSPrimitiveValue.cpp case Percent: Percent 378 Source/core/css/CSSPrimitiveValue.cpp case Percent: Percent 4210 Source/core/css/CSSPrimitiveValueMappings.h return Length(getDoubleValue(), Percent); Percent 394 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setLineHeight(Length(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0), Percent)); Percent 590 Source/core/css/resolver/CSSToStyleMap.cpp box.m_top = Length(slices->top()->getDoubleValue(), Percent); Percent 594 Source/core/css/resolver/CSSToStyleMap.cpp box.m_bottom = Length(slices->bottom()->getDoubleValue(), Percent); Percent 598 Source/core/css/resolver/CSSToStyleMap.cpp box.m_left = Length(slices->left()->getDoubleValue(), Percent); Percent 602 Source/core/css/resolver/CSSToStyleMap.cpp box.m_right = Length(slices->right()->getDoubleValue(), Percent); Percent 616 Source/core/css/resolver/CSSToStyleMap.cpp return Length(value.getDoubleValue(CSSPrimitiveValue::CSS_PERCENTAGE), Percent); Percent 316 Source/core/css/resolver/StyleBuilderCustom.cpp lineHeight = Length(primitiveValue->getDoubleValue() * 100.0, Percent); Percent 607 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setTransformOriginX(Length(0, Percent)); Percent 610 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setTransformOriginX(Length(100, Percent)); Percent 613 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setTransformOriginX(Length(50, Percent)); Percent 626 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setTransformOriginY(Length(0, Percent)); Percent 629 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setTransformOriginY(Length(100, Percent)); Percent 632 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setTransformOriginY(Length(50, Percent)); Percent 665 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setPerspectiveOriginX(Length(0, Percent)); Percent 668 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setPerspectiveOriginX(Length(100, Percent)); Percent 671 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setPerspectiveOriginX(Length(50, Percent)); Percent 684 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setPerspectiveOriginY(Length(0, Percent)); Percent 687 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setPerspectiveOriginY(Length(100, Percent)); Percent 690 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setPerspectiveOriginY(Length(50, Percent)); Percent 57 Source/core/dom/ViewportDescription.cpp if (length.type() == Percent && direction == Horizontal) Percent 60 Source/core/dom/ViewportDescription.cpp if (length.type() == Percent && direction == Vertical) Percent 111 Source/core/rendering/AutoTableLayout.cpp case Percent: Percent 297 Source/core/rendering/AutoTableLayout.cpp case Percent: Percent 360 Source/core/rendering/AutoTableLayout.cpp m_layoutStruct[pos].effectiveLogicalWidth.setValue(Percent, percent); Percent 509 Source/core/rendering/AutoTableLayout.cpp case Percent: Percent 2790 Source/core/rendering/RenderBox.cpp case Percent: Percent 2837 Source/core/rendering/RenderBox.cpp case Percent: Percent 68 Source/core/rendering/RenderFlowThread.cpp newStyle->setWidth(Length(100, Percent)); Percent 69 Source/core/rendering/RenderFlowThread.cpp newStyle->setHeight(Length(100, Percent)); Percent 101 Source/core/rendering/RenderFullScreen.cpp fullscreenStyle->setWidth(Length(100.0, Percent)); Percent 102 Source/core/rendering/RenderFullScreen.cpp fullscreenStyle->setHeight(Length(100.0, Percent)); Percent 94 Source/core/rendering/RenderLayerReflectionInfo.cpp Length(100., Percent), TransformOperation::Translate)); Percent 103 Source/core/rendering/RenderLayerReflectionInfo.cpp Length(100., Percent), TransformOperation::Translate)); Percent 109 Source/core/rendering/RenderLayerReflectionInfo.cpp transform.operations().append(TranslateTransformOperation::create(Length(100., Percent), Percent 118 Source/core/rendering/RenderLayerReflectionInfo.cpp transform.operations().append(TranslateTransformOperation::create(Length(100., Percent), Percent 67 Source/core/rendering/RenderTableSection.cpp case Percent: Percent 73 Source/core/rendering/RenderTableSection.cpp if (cRowLogicalHeight.type() < Percent Percent 48 Source/core/rendering/style/BasicShapes.cpp m_computedLength = Length(100, Percent); Percent 52 Source/core/rendering/style/BasicShapes.cpp OwnPtr<CalcExpressionLength> lhs = adoptPtr(new CalcExpressionLength(Length(100, Percent))); Percent 189 Source/core/rendering/style/FillLayer.h static Length initialFillXPosition(EFillLayerType) { return Length(0.0, Percent); } Percent 190 Source/core/rendering/style/FillLayer.h static Length initialFillYPosition(EFillLayerType) { return Length(0.0, Percent); } Percent 59 Source/core/rendering/style/NinePieceImage.cpp , imageSlices(Length(100, Percent), Length(100, Percent), Length(100, Percent), Length(100, Percent)) Percent 906 Source/core/rendering/style/RenderStyle.cpp float offsetX = transformOriginX().type() == Percent ? boundingBox.x() : 0; Percent 907 Source/core/rendering/style/RenderStyle.cpp float offsetY = transformOriginY().type() == Percent ? boundingBox.y() : 0; Percent 1529 Source/core/rendering/style/RenderStyle.h static LengthPoint initialObjectPosition() { return LengthPoint(Length(50.0, Percent), Length(50.0, Percent)); } Percent 1564 Source/core/rendering/style/RenderStyle.h static Length initialLineHeight() { return Length(-100.0, Percent); } Percent 1629 Source/core/rendering/style/RenderStyle.h static Length initialTransformOriginX() { return Length(50.0, Percent); } Percent 1630 Source/core/rendering/style/RenderStyle.h static Length initialTransformOriginY() { return Length(50.0, Percent); } Percent 1636 Source/core/rendering/style/RenderStyle.h static Length initialPerspectiveOriginX() { return Length(50.0, Percent); } Percent 1637 Source/core/rendering/style/RenderStyle.h static Length initialPerspectiveOriginY() { return Length(50.0, Percent); } Percent 701 Source/core/svg/SVGSVGElement.cpp return Length(m_width->currentValue()->valueAsPercentage() * 100, Percent); Percent 715 Source/core/svg/SVGSVGElement.cpp return Length(m_height->currentValue()->valueAsPercentage() * 100, Percent); Percent 153 Source/platform/Length.h ASSERT(type() == Percent); Percent 234 Source/platform/Length.h bool isPercent() const { return type() == Percent || type() == Calculated; } Percent 239 Source/platform/Length.h bool isSpecified() const { return type() == Fixed || type() == Percent || type() == Calculated; } Percent 42 Source/platform/LengthFunctions.cpp case Percent: Percent 70 Source/platform/LengthFunctions.cpp case Percent: Percent 96 Source/platform/LengthFunctions.cpp if (length.type() == Percent) Percent 105 Source/platform/LengthFunctions.cpp case Percent: