CSS_PX 183 Source/core/animation/AnimatableLength.cpp case CSSPrimitiveValue::CSS_PX: CSS_PX 224 Source/core/animation/AnimatableLength.cpp return CSSPrimitiveValue::CSS_PX; CSS_PX 100 Source/core/animation/AnimatableLengthTest.cpp EXPECT_TRUE(AnimatableLength::canCreateFrom(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PX).get())); CSS_PX 115 Source/core/animation/AnimatableLengthTest.cpp EXPECT_TRUE(AnimatableLength::canCreateFrom(createCalc(3, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_CM).get())); CSS_PX 116 Source/core/animation/AnimatableLengthTest.cpp EXPECT_TRUE(AnimatableLength::canCreateFrom(CSSPrimitiveValue::create(createCalc(3, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_CM)).get())); CSS_PX 123 Source/core/animation/AnimatableLengthTest.cpp EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_PX).get())); CSS_PX 139 Source/core/animation/AnimatableLengthTest.cpp AnimatableLength::create(createCalc(3, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_CM).get()).get() CSS_PX 142 Source/core/animation/AnimatableLengthTest.cpp AnimatableLength::create(CSSPrimitiveValue::create(createCalc(3, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_CM)).get()).get() CSS_PX 150 Source/core/animation/AnimatableLengthTest.cpp EXPECT_ROUNDTRIP(CSSPrimitiveValue::create(-5, CSSPrimitiveValue::CSS_PX), toCSSValue); CSS_PX 165 Source/core/animation/AnimatableLengthTest.cpp EXPECT_ROUNDTRIP(CSSPrimitiveValue::create(createCalc(3, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_IN)), toCSSValue); CSS_PX 166 Source/core/animation/AnimatableLengthTest.cpp EXPECT_ROUNDTRIP(CSSPrimitiveValue::create(createCalc(3, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_IN)), toCSSValue); CSS_PX 172 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(-5, WebCore::Fixed), create(-5, CSSPrimitiveValue::CSS_PX)->toLength(conversionDataZoom1)); CSS_PX 173 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(-15, WebCore::Fixed), create(-5, CSSPrimitiveValue::CSS_PX)->toLength(conversionDataZoom3)); CSS_PX 174 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(0, WebCore::Fixed), create(-5, CSSPrimitiveValue::CSS_PX)->toLength(conversionDataZoom1, NonNegativeValues)); CSS_PX 175 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(Length(0, WebCore::Fixed), create(-5, CSSPrimitiveValue::CSS_PX)->toLength(conversionDataZoom3, NonNegativeValues)); CSS_PX 189 Source/core/animation/AnimatableLengthTest.cpp create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1)); CSS_PX 197 Source/core/animation/AnimatableLengthTest.cpp create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3)); CSS_PX 205 Source/core/animation/AnimatableLengthTest.cpp create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1, NonNegativeValues)); CSS_PX 213 Source/core/animation/AnimatableLengthTest.cpp create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3, NonNegativeValues)); CSS_PX 218 Source/core/animation/AnimatableLengthTest.cpp RefPtrWillBeRawPtr<AnimatableLength> from10px = create(10, CSSPrimitiveValue::CSS_PX); CSS_PX 221 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(5, CSSPrimitiveValue::CSS_PX), CSS_PX 224 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(10, CSSPrimitiveValue::CSS_PX), CSS_PX 226 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(14, CSSPrimitiveValue::CSS_PX), CSS_PX 228 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(15, CSSPrimitiveValue::CSS_PX), CSS_PX 230 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(16, CSSPrimitiveValue::CSS_PX), CSS_PX 234 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(25, CSSPrimitiveValue::CSS_PX), CSS_PX 255 Source/core/animation/AnimatableLengthTest.cpp RefPtrWillBeRawPtr<AnimatableLength> from0px = create(0, CSSPrimitiveValue::CSS_PX); CSS_PX 259 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(0, CSSPrimitiveValue::CSS_PX), CSS_PX 286 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(10, CSSPrimitiveValue::CSS_PX), CSS_PX 287 Source/core/animation/AnimatableLengthTest.cpp AnimatableValue::add(create(10, CSSPrimitiveValue::CSS_PX).get(), create(0, CSSPrimitiveValue::CSS_MM).get())); CSS_PX 288 Source/core/animation/AnimatableLengthTest.cpp EXPECT_REFV_EQ(create(100, CSSPrimitiveValue::CSS_PX), CSS_PX 289 Source/core/animation/AnimatableLengthTest.cpp AnimatableValue::add(create(4, CSSPrimitiveValue::CSS_PX).get(), create(1, CSSPrimitiveValue::CSS_IN).get())); CSS_PX 315 Source/core/animation/AnimatableLengthTest.cpp EXPECT_TRUE(isUnitlessZero(create(0, CSSPrimitiveValue::CSS_PX))); CSS_PX 325 Source/core/animation/AnimatableLengthTest.cpp EXPECT_FALSE(isUnitlessZero(create(1, CSSPrimitiveValue::CSS_PX))); CSS_PX 338 Source/core/animation/AnimatableLengthTest.cpp RefPtrWillBeRawPtr<AnimatableLength> length10px = create(10, CSSPrimitiveValue::CSS_PX); CSS_PX 339 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypePixels, commonUnitType(length10px, create(1, CSSPrimitiveValue::CSS_PX).get())); CSS_PX 342 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(length10px, create(4, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_CM).get())); CSS_PX 345 Source/core/animation/AnimatableLengthTest.cpp RefPtrWillBeRawPtr<AnimatableLength> length0px = create(0, CSSPrimitiveValue::CSS_PX); CSS_PX 346 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypePixels, commonUnitType(length0px, create(1, CSSPrimitiveValue::CSS_PX).get())); CSS_PX 349 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(length0px, create(4, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_CM).get())); CSS_PX 353 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(length0percent, create(1, CSSPrimitiveValue::CSS_PX).get())); CSS_PX 356 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(length0percent, create(4, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_CM).get())); CSS_PX 359 Source/core/animation/AnimatableLengthTest.cpp RefPtrWillBeRawPtr<AnimatableLength> lengthCalc = create(3, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_CM); CSS_PX 360 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(lengthCalc, create(1, CSSPrimitiveValue::CSS_PX).get())); CSS_PX 363 Source/core/animation/AnimatableLengthTest.cpp EXPECT_EQ(AnimatableLength::UnitTypeCalc, commonUnitType(lengthCalc, create(4, CSSPrimitiveValue::CSS_PX, 5, CSSPrimitiveValue::CSS_CM).get())); CSS_PX 76 Source/core/animation/AnimatableValueTestHelperTest.cpp PrintToString(AnimatableLength::create(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PX).get()))); CSS_PX 81 Source/core/animation/AnimatableValueTestHelperTest.cpp AnimatableLength::create(CSSPrimitiveValue::create(1, CSSPrimitiveValue::CSS_PX).get()), CSS_PX 91 Source/core/animation/AnimatableValueTestHelperTest.cpp AnimatableLength::create(CSSPrimitiveValue::create(6, CSSPrimitiveValue::CSS_PX).get()) CSS_PX 54 Source/core/animation/KeyframeEffectModelTest.cpp return AnimatableLength::create(CSSPrimitiveValue::create(n, CSSPrimitiveValue::CSS_PX).get()); CSS_PX 60 Source/core/css/CSSCalculationValue.cpp case CSSPrimitiveValue::CSS_PX: CSS_PX 88 Source/core/css/CSSCalculationValue.cpp case CSSPrimitiveValue::CSS_PX: CSS_PX 60 Source/core/css/CSSCalculationValueTest.cpp expected = CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true); CSS_PX 65 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true), CSS_PX 66 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(20, CSSPrimitiveValue::CSS_PX), true), CSS_PX 79 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(30, CSSPrimitiveValue::CSS_PX), true), CSS_PX 94 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(50, CSSPrimitiveValue::CSS_PX), true), CSS_PX 98 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(60, CSSPrimitiveValue::CSS_PX), true), CSS_PX 116 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true), CSS_PX 121 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true), CSS_PX 122 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(20, CSSPrimitiveValue::CSS_PX), true), CSS_PX 128 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(30, CSSPrimitiveValue::CSS_PX), true), CSS_PX 136 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(50, CSSPrimitiveValue::CSS_PX), true), CSS_PX 140 Source/core/css/CSSCalculationValueTest.cpp CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(60, CSSPrimitiveValue::CSS_PX), true), CSS_PX 545 Source/core/css/CSSComputedStyleDeclaration.cpp return cssValuePool().createValue(adjustFloatForAbsoluteZoom(value, style), CSSPrimitiveValue::CSS_PX); CSS_PX 1625 Source/core/css/CSSGrammar.y | PXS { $$.setFromNumber($1, CSSPrimitiveValue::CSS_PX); } CSS_PX 114 Source/core/css/CSSParserValues.cpp case CSSPrimitiveValue::CSS_PX: CSS_PX 77 Source/core/css/CSSPrimitiveValue.cpp case CSSPrimitiveValue::CSS_PX: CSS_PX 120 Source/core/css/CSSPrimitiveValue.cpp table.set(String("px"), CSSPrimitiveValue::CSS_PX); CSS_PX 158 Source/core/css/CSSPrimitiveValue.cpp case CSS_PX: CSS_PX 220 Source/core/css/CSSPrimitiveValue.cpp return CSS_PX; CSS_PX 325 Source/core/css/CSSPrimitiveValue.cpp m_primitiveUnitType = CSS_PX; CSS_PX 347 Source/core/css/CSSPrimitiveValue.cpp m_primitiveUnitType = CSS_PX; CSS_PX 504 Source/core/css/CSSPrimitiveValue.cpp case CSS_PX: CSS_PX 629 Source/core/css/CSSPrimitiveValue.cpp case CSS_PX: CSS_PX 692 Source/core/css/CSSPrimitiveValue.cpp case CSS_PX: CSS_PX 770 Source/core/css/CSSPrimitiveValue.cpp return CSS_PX; CSS_PX 986 Source/core/css/CSSPrimitiveValue.cpp case CSS_PX: CSS_PX 1183 Source/core/css/CSSPrimitiveValue.cpp case CSS_PX: CSS_PX 1244 Source/core/css/CSSPrimitiveValue.cpp case CSS_PX: CSS_PX 168 Source/core/css/CSSPrimitiveValue.h bool isFontIndependentLength() const { return m_primitiveUnitType >= CSS_PX && m_primitiveUnitType <= CSS_PC; } CSS_PX 183 Source/core/css/CSSPrimitiveValue.h bool isPx() const { return primitiveType() == CSS_PX; } CSS_PX 108 Source/core/css/CSSValuePool.cpp case CSSPrimitiveValue::CSS_PX: CSS_PX 346 Source/core/css/MediaQueryEvaluator.cpp } else if (type == CSSPrimitiveValue::CSS_PX) { CSS_PX 315 Source/core/css/parser/BisonCSSParser-in.cpp unit = CSSPrimitiveValue::CSS_PX; CSS_PX 354 Source/core/css/parser/BisonCSSParser-in.cpp unit = CSSPrimitiveValue::CSS_PX; CSS_PX 893 Source/core/css/parser/BisonCSSParser-in.cpp if (unit != CSSPrimitiveValue::CSS_PX && (number || unit != CSSPrimitiveValue::CSS_NUMBER)) CSS_PX 895 Source/core/css/parser/BisonCSSParser-in.cpp transformValue->append(cssValuePool().createValue(number, CSSPrimitiveValue::CSS_PX)); CSS_PX 291 Source/core/css/parser/CSSPropertyParser.cpp value->unit = (unitflags & FLength) ? CSSPrimitiveValue::CSS_PX : CSS_PX 308 Source/core/css/parser/CSSPropertyParser.cpp case CSSPrimitiveValue::CSS_PX: CSS_PX 1132 Source/core/css/parser/CSSPropertyParser.cpp list->append(cssValuePool().createValue(0, CSSPrimitiveValue::CSS_PX)); CSS_PX 5603 Source/core/css/parser/CSSPropertyParser.cpp offset = cssValuePool().createValue(0, CSSPrimitiveValue::CSS_PX); CSS_PX 5642 Source/core/css/parser/CSSPropertyParser.cpp flexBasis = cssValuePool().createValue(0, CSSPrimitiveValue::CSS_PX); CSS_PX 5661 Source/core/css/parser/CSSPropertyParser.cpp flexBasis = cssValuePool().createValue(0, CSSPrimitiveValue::CSS_PX); CSS_PX 91 Source/core/css/parser/MediaQueryToken.cpp else if (m_unit == CSSPrimitiveValue::CSS_PX) CSS_PX 1566 Source/core/css/resolver/StyleBuilderCustom.cpp perspectiveValue = CSSPrimitiveValue::create(primitiveValue->getDoubleValue(), CSSPrimitiveValue::CSS_PX)->computeLength<float>(state.cssToLengthConversionData()); CSS_PX 414 Source/core/editing/ApplyStyleCommand.cpp inlineStyle->setProperty(CSSPropertyFontSize, cssValuePool().createValue(desiredFontSize, CSSPrimitiveValue::CSS_PX), false); CSS_PX 1513 Source/core/editing/ApplyStyleCommand.cpp return value->getFloatValue(CSSPrimitiveValue::CSS_PX); CSS_PX 1593 Source/core/editing/EditingStyle.cpp int pixelFontSize = value->getIntValue(CSSPrimitiveValue::CSS_PX); CSS_PX 129 Source/core/html/HTMLElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyBorderWidth, parseBorderWidthAttribute(value), CSSPrimitiveValue::CSS_PX); CSS_PX 82 Source/core/html/HTMLEmbedElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, 0, CSSPrimitiveValue::CSS_PX); CSS_PX 83 Source/core/html/HTMLEmbedElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, 0, CSSPrimitiveValue::CSS_PX); CSS_PX 58 Source/core/html/HTMLHRElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyMarginLeft, 0, CSSPrimitiveValue::CSS_PX); CSS_PX 62 Source/core/html/HTMLHRElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyMarginRight, 0, CSSPrimitiveValue::CSS_PX); CSS_PX 71 Source/core/html/HTMLHRElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, 1, CSSPrimitiveValue::CSS_PX); CSS_PX 90 Source/core/html/HTMLHRElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyBorderBottomWidth, 0, CSSPrimitiveValue::CSS_PX); CSS_PX 92 Source/core/html/HTMLHRElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, size - 2, CSSPrimitiveValue::CSS_PX); CSS_PX 69 Source/core/html/HTMLIFrameElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyBorderWidth, 0, CSSPrimitiveValue::CSS_PX); CSS_PX 299 Source/core/html/HTMLTableElement.cpp addPropertyToPresentationAttributeStyle(style, CSSPropertyBorderWidth, parseBorderWidthAttribute(value), CSSPrimitiveValue::CSS_PX); CSS_PX 477 Source/core/html/HTMLTableElement.cpp style->setProperty(CSSPropertyBorderWidth, cssValuePool().createValue(1, CSSPrimitiveValue::CSS_PX)); CSS_PX 482 Source/core/html/HTMLTableElement.cpp style->setProperty(CSSPropertyBorderWidth, cssValuePool().createValue(1, CSSPrimitiveValue::CSS_PX)); CSS_PX 492 Source/core/html/HTMLTableElement.cpp style->setProperty(CSSPropertyPadding, cssValuePool().createValue(m_padding, CSSPrimitiveValue::CSS_PX)); CSS_PX 669 Source/core/html/shadow/MediaControlElements.cpp setInlineStyleProperty(CSSPropertyFontSize, fontSize, CSSPrimitiveValue::CSS_PX); CSS_PX 345 Source/core/html/track/vtt/VTTRegion.cpp m_cueContainer->setInlineStyleProperty(CSSPropertyTop, m_currentTop, CSSPrimitiveValue::CSS_PX); CSS_PX 388 Source/core/html/track/vtt/VTTRegion.cpp m_cueContainer->setInlineStyleProperty(CSSPropertyTop, m_currentTop, CSSPrimitiveValue::CSS_PX); CSS_PX 438 Source/core/html/track/vtt/VTTRegion.cpp CSSPrimitiveValue::CSS_PX); CSS_PX 1365 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyMarginLeft, m_box->marginLeft() / zoomFactor, CSSPrimitiveValue::CSS_PX); CSS_PX 1366 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyMarginRight, m_box->marginRight() / zoomFactor, CSSPrimitiveValue::CSS_PX); CSS_PX 1370 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyWidth, roundToInt(baseWidth + difference.width()), CSSPrimitiveValue::CSS_PX); CSS_PX 1376 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyMarginTop, m_box->marginTop() / zoomFactor, CSSPrimitiveValue::CSS_PX); CSS_PX 1377 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyMarginBottom, m_box->marginBottom() / zoomFactor, CSSPrimitiveValue::CSS_PX); CSS_PX 1381 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyHeight, roundToInt(baseHeight + difference.height()), CSSPrimitiveValue::CSS_PX); CSS_PX 274 Source/core/svg/SVGLength.cpp case CSSPrimitiveValue::CSS_PX: CSS_PX 327 Source/core/svg/SVGLength.cpp cssType = CSSPrimitiveValue::CSS_PX; CSS_PX 65 Source/core/testing/MockPagePopupDriver.cpp m_iframe->setInlineStyleProperty(CSSPropertyBorderWidth, 0.0, CSSPrimitiveValue::CSS_PX); CSS_PX 67 Source/core/testing/MockPagePopupDriver.cpp m_iframe->setInlineStyleProperty(CSSPropertyLeft, originBoundsInRootView.x(), CSSPrimitiveValue::CSS_PX, true); CSS_PX 68 Source/core/testing/MockPagePopupDriver.cpp m_iframe->setInlineStyleProperty(CSSPropertyTop, originBoundsInRootView.maxY(), CSSPrimitiveValue::CSS_PX, true);