CSS_PERCENTAGE 200 Source/core/animation/AnimatableLength.cpp case CSSPrimitiveValue::CSS_PERCENTAGE: CSS_PERCENTAGE 232 Source/core/animation/AnimatableLength.cpp return CSSPrimitiveValue::CSS_PERCENTAGE; CSS_PERCENTAGE 109 Source/core/animation/AnimatableLengthTest.cpp EXPECT_TRUE(AnimatableLength::canCreateFrom(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 132 Source/core/animation/AnimatableLengthTest.cpp EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 159 Source/core/animation/AnimatableLengthTest.cpp EXPECT_ROUNDTRIP(CSSPrimitiveValue::create(-5, CSSPrimitiveValue::CSS_PERCENTAGE), toCSSValue); CSS_PERCENTAGE 177 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(-5, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1)); CSS_PERCENTAGE 178 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(-5, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3)); CSS_PERCENTAGE 179 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(0, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1, NonNegativeValues)); CSS_PERCENTAGE 180 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(0, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3, NonNegativeValues)); CSS_PERCENTAGE 189 Source/core/animation/AnimatableLengthTest.cpp create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1)); CSS_PERCENTAGE 197 Source/core/animation/AnimatableLengthTest.cpp create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3)); CSS_PERCENTAGE 205 Source/core/animation/AnimatableLengthTest.cpp create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1, NonNegativeValues)); CSS_PERCENTAGE 213 Source/core/animation/AnimatableLengthTest.cpp create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3, NonNegativeValues)); CSS_PERCENTAGE 269 Source/core/animation/AnimatableLengthTest.cpp RefPtrWillBeRawPtr<AnimatableLength> from0percent = create(0, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 270 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(0, CSSPrimitiveValue::CSS_PERCENTAGE, -10, CSSPrimitiveValue::CSS_REMS), CSS_PERCENTAGE 273 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(0, CSSPrimitiveValue::CSS_PERCENTAGE), CSS_PERCENTAGE 275 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(0, CSSPrimitiveValue::CSS_PERCENTAGE, 10, CSSPrimitiveValue::CSS_REMS), CSS_PERCENTAGE 280 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(0, CSSPrimitiveValue::CSS_PERCENTAGE, 30, CSSPrimitiveValue::CSS_REMS), CSS_PERCENTAGE 306 Source/core/animation/AnimatableLengthTest.cpp RefPtrWillBeRawPtr<AnimatableLength> zeropercent = create(0, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 307 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(0, CSSPrimitiveValue::CSS_PERCENTAGE, -10, CSSPrimitiveValue::CSS_REMS), CSS_PERCENTAGE 309 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(-10, CSSPrimitiveValue::CSS_REMS, 0, CSSPrimitiveValue::CSS_PERCENTAGE), CSS_PERCENTAGE 316 Source/core/animation/AnimatableLengthTest.cpp EXPECT_FALSE(isUnitlessZero(create(0, CSSPrimitiveValue::CSS_PERCENTAGE))); CSS_PERCENTAGE 326 Source/core/animation/AnimatableLengthTest.cpp EXPECT_FALSE(isUnitlessZero(create(2, CSSPrimitiveValue::CSS_PERCENTAGE))); CSS_PERCENTAGE 340 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(length10px, create(2, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 343 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(length10px, create(0, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 347 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypePercentage, commonUnitType(length0px, create(2, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 350 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypePercentage, commonUnitType(length0px, create(0, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 352 Source/core/animation/AnimatableLengthTest.cpp RefPtrWillBeRawPtr<AnimatableLength> length0percent = create(0, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 354 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypePercentage, commonUnitType(length0percent, create(2, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 357 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypePercentage, commonUnitType(length0percent, create(0, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 361 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(lengthCalc, create(2, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 364 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(lengthCalc, create(0, CSSPrimitiveValue::CSS_PERCENTAGE).get())); CSS_PERCENTAGE 90 Source/core/animation/AnimatableValueTestHelperTest.cpp AnimatableLength::create(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PERCENTAGE).get()), CSS_PERCENTAGE 185 Source/core/animation/css/CSSAnimatableValueFactory.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(100, CSSPrimitiveValue::CSS_PERCENTAGE), true), CSS_PERCENTAGE 56 Source/core/css/CSSCalculationValue.cpp case CSSPrimitiveValue::CSS_PERCENTAGE: CSS_PERCENTAGE 83 Source/core/css/CSSCalculationValue.cpp case CSSPrimitiveValue::CSS_PERCENTAGE: CSS_PERCENTAGE 409 Source/core/css/CSSComputedStyleDeclaration.cpp top = cssValuePool().createValue(image.imageSlices().top().value(), CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 420 Source/core/css/CSSComputedStyleDeclaration.cpp right = cssValuePool().createValue(image.imageSlices().right().value(), CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 429 Source/core/css/CSSComputedStyleDeclaration.cpp bottom = cssValuePool().createValue(image.imageSlices().bottom().value(), CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 437 Source/core/css/CSSComputedStyleDeclaration.cpp left = cssValuePool().createValue(image.imageSlices().left().value(), CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 567 Source/core/css/CSSComputedStyleDeclaration.cpp offset = cssValuePool().createValue(reflection->offset().percent(), CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 652 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(cssValuePool().createValue(radius.width().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); CSS_PERCENTAGE 656 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(cssValuePool().createValue(radius.height().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); CSS_PERCENTAGE 2031 Source/core/css/CSSComputedStyleDeclaration.cpp return cssValuePool().createValue(style->lineClamp().value(), style->lineClamp().isPercentage() ? CSSPrimitiveValue::CSS_PERCENTAGE : CSSPrimitiveValue::CSS_NUMBER); CSS_PERCENTAGE 153 Source/core/css/CSSGradientValue.cpp offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_PERCENTAGE) / 100; CSS_PERCENTAGE 184 Source/core/css/CSSGradientValue.cpp stops[i].offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_PERCENTAGE) / 100; CSS_PERCENTAGE 1624 Source/core/css/CSSGrammar.y | PERCENTAGE { $$.setFromNumber($1, CSSPrimitiveValue::CSS_PERCENTAGE); } CSS_PERCENTAGE 111 Source/core/css/CSSParserValues.cpp case CSSPrimitiveValue::CSS_PERCENTAGE: CSS_PERCENTAGE 74 Source/core/css/CSSPrimitiveValue.cpp case CSSPrimitiveValue::CSS_PERCENTAGE: CSS_PERCENTAGE 156 Source/core/css/CSSPrimitiveValue.cpp case CSS_PERCENTAGE: CSS_PERCENTAGE 218 Source/core/css/CSSPrimitiveValue.cpp return CSS_PERCENTAGE; CSS_PERCENTAGE 379 Source/core/css/CSSPrimitiveValue.cpp m_primitiveUnitType = CSS_PERCENTAGE; CSS_PERCENTAGE 499 Source/core/css/CSSPrimitiveValue.cpp case CSS_PERCENTAGE: CSS_PERCENTAGE 971 Source/core/css/CSSPrimitiveValue.cpp case CSS_PERCENTAGE: CSS_PERCENTAGE 1178 Source/core/css/CSSPrimitiveValue.cpp case CSS_PERCENTAGE: CSS_PERCENTAGE 1240 Source/core/css/CSSPrimitiveValue.cpp case CSS_PERCENTAGE: CSS_PERCENTAGE 182 Source/core/css/CSSPrimitiveValue.h bool isPercentage() const { return primitiveType() == CSS_PERCENTAGE; } CSS_PERCENTAGE 111 Source/core/css/CSSPrimitiveValueMappings.h m_primitiveUnitType = i.isPercentage() ? CSS_PERCENTAGE : CSS_NUMBER; CSS_PERCENTAGE 120 Source/core/css/CSSPrimitiveValueMappings.h if (m_primitiveUnitType == CSS_PERCENTAGE) CSS_PERCENTAGE 112 Source/core/css/CSSValuePool.cpp case CSSPrimitiveValue::CSS_PERCENTAGE: CSS_PERCENTAGE 318 Source/core/css/parser/BisonCSSParser-in.cpp unit = CSSPrimitiveValue::CSS_PERCENTAGE; CSS_PERCENTAGE 300 Source/core/css/parser/CSSPropertyParser.cpp case CSSPrimitiveValue::CSS_PERCENTAGE: CSS_PERCENTAGE 1130 Source/core/css/parser/CSSPropertyParser.cpp list->append(cssValuePool().createValue(50, CSSPrimitiveValue::CSS_PERCENTAGE)); CSS_PERCENTAGE 1177 Source/core/css/parser/CSSPropertyParser.cpp list->append(cssValuePool().createValue(50, CSSPrimitiveValue::CSS_PERCENTAGE)); CSS_PERCENTAGE 1335 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && (value->unit == CSSPrimitiveValue::CSS_PERCENTAGE || value->fValue) && validUnit(value, FInteger | FPercent | FNonNeg, HTMLQuirksMode)); CSS_PERCENTAGE 2437 Source/core/css/parser/CSSPropertyParser.cpp return cssValuePool().createValue(percent, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 2453 Source/core/css/parser/CSSPropertyParser.cpp return cssValuePool().createValue(percent, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 2490 Source/core/css/parser/CSSPropertyParser.cpp return cssValuePool().createValue(percent, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 2607 Source/core/css/parser/CSSPropertyParser.cpp value1 = createPrimitiveValuePair(cssValuePool().createIdentifierValue(firstPositionKeyword), cssValuePool().createValue(50, CSSPrimitiveValue::CSS_PERCENTAGE)); CSS_PERCENTAGE 2619 Source/core/css/parser/CSSPropertyParser.cpp value2 = createPrimitiveValuePair(cssValuePool().createIdentifierValue(secondPositionKeyword), cssValuePool().createValue(50, CSSPrimitiveValue::CSS_PERCENTAGE)); CSS_PERCENTAGE 2633 Source/core/css/parser/CSSPropertyParser.cpp firstPositionValue = cssValuePool().createValue(0, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 2641 Source/core/css/parser/CSSPropertyParser.cpp secondPositionValue = cssValuePool().createValue(0, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 2768 Source/core/css/parser/CSSPropertyParser.cpp value2 = cssValuePool().createValue(50, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 5017 Source/core/css/parser/CSSPropertyParser.cpp if (expect == CSSPrimitiveValue::CSS_PERCENTAGE && *current != '%') CSS_PERCENTAGE 5021 Source/core/css/parser/CSSPropertyParser.cpp expect = CSSPrimitiveValue::CSS_PERCENTAGE; CSS_PERCENTAGE 5240 Source/core/css/parser/CSSPropertyParser.cpp isPercent = v->unit == CSSPrimitiveValue::CSS_PERCENTAGE; CSS_PERCENTAGE 6315 Source/core/css/parser/CSSPropertyParser.cpp result = cssValuePool().createValue(0., CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 6318 Source/core/css/parser/CSSPropertyParser.cpp result = cssValuePool().createValue(100., CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 6320 Source/core/css/parser/CSSPropertyParser.cpp result = cssValuePool().createValue(50., CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 6321 Source/core/css/parser/CSSPropertyParser.cpp } else if (a->unit == CSSPrimitiveValue::CSS_NUMBER || a->unit == CSSPrimitiveValue::CSS_PERCENTAGE) CSS_PERCENTAGE 6366 Source/core/css/parser/CSSPropertyParser.cpp if (stopArg->unit == CSSPrimitiveValue::CSS_PERCENTAGE) CSS_PERCENTAGE 7070 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit == CSSPrimitiveValue::CSS_PERCENTAGE) CSS_PERCENTAGE 7280 Source/core/css/parser/CSSPropertyParser.cpp double maxAllowed = value->unit == CSSPrimitiveValue::CSS_PERCENTAGE ? 100.0 : 1.0; CSS_PERCENTAGE 7436 Source/core/css/parser/CSSPropertyParser.cpp xValue = cssValuePool().createValue(50, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 63 Source/core/css/parser/MediaQueryToken.cpp m_unit = CSSPrimitiveValue::CSS_PERCENTAGE; CSS_PERCENTAGE 89 Source/core/css/parser/MediaQueryToken.cpp if (m_unit == CSSPrimitiveValue::CSS_PERCENTAGE) CSS_PERCENTAGE 616 Source/core/css/resolver/CSSToStyleMap.cpp return Length(value.getDoubleValue(CSSPrimitiveValue::CSS_PERCENTAGE), Percent); CSS_PERCENTAGE 136 Source/core/html/shadow/MeterShadowElement.cpp setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 90 Source/core/html/shadow/ProgressShadowElement.cpp setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 161 Source/core/html/track/vtt/VTTCue.cpp setInlineStyleProperty(CSSPropertyTop, position.second, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 164 Source/core/html/track/vtt/VTTCue.cpp setInlineStyleProperty(CSSPropertyLeft, position.first, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 168 Source/core/html/track/vtt/VTTCue.cpp setInlineStyleProperty(CSSPropertyWidth, static_cast<double>(m_cue->getCSSSize()), CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 172 Source/core/html/track/vtt/VTTCue.cpp setInlineStyleProperty(CSSPropertyHeight, static_cast<double>(m_cue->getCSSSize()), CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 406 Source/core/html/track/vtt/VTTRegion.cpp m_width, CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 422 Source/core/html/track/vtt/VTTRegion.cpp CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 431 Source/core/html/track/vtt/VTTRegion.cpp CSSPrimitiveValue::CSS_PERCENTAGE); CSS_PERCENTAGE 265 Source/core/svg/SVGLength.cpp case CSSPrimitiveValue::CSS_PERCENTAGE: CSS_PERCENTAGE 318 Source/core/svg/SVGLength.cpp cssType = CSSPrimitiveValue::CSS_PERCENTAGE;