/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLHRElement.cpp | 54 …ddPropertyToPresentationAttributeStyle(style, CSSPropertyMarginLeft, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute() 58 …dPropertyToPresentationAttributeStyle(style, CSSPropertyMarginRight, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute() 67 … addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, 1, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute() 86 …rtyToPresentationAttributeStyle(style, CSSPropertyBorderBottomWidth, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute() 88 …ropertyToPresentationAttributeStyle(style, CSSPropertyHeight, size - 2, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
|
D | HTMLEmbedElement.cpp | 82 … addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute() 83 … addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
|
D | HTMLTableElement.cpp | 286 …eStyle(style, CSSPropertyBorderWidth, parseBorderWidthAttribute(value), CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute() 469 …yle->setProperty(CSSPropertyBorderWidth, cssValuePool().createValue(1, CSSPrimitiveValue::CSS_PX)); in createSharedCellStyle() 474 …yle->setProperty(CSSPropertyBorderWidth, cssValuePool().createValue(1, CSSPrimitiveValue::CSS_PX)); in createSharedCellStyle() 484 …>setProperty(CSSPropertyPadding, cssValuePool().createValue(m_padding, CSSPrimitiveValue::CSS_PX)); in createSharedCellStyle()
|
D | HTMLIFrameElement.cpp | 67 …dPropertyToPresentationAttributeStyle(style, CSSPropertyBorderWidth, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
D | LengthStyleInterpolationTest.cpp | 84 …rWillBeRawPtr<CSSValue> value = roundTrip(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PX)); in TEST_F() 85 testPrimitiveValue(value, 0, CSSPrimitiveValue::CSS_PX); in TEST_F() 88 testPrimitiveValue(value, 0, CSSPrimitiveValue::CSS_PX); in TEST_F() 93 …WillBeRawPtr<CSSValue> value = roundTrip(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX)); in TEST_F() 94 testPrimitiveValue(value, 10, CSSPrimitiveValue::CSS_PX); in TEST_F()
|
D | LengthStyleInterpolation.cpp | 82 return CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PX); in interpolableValueToLength()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSCalculationValueTest.cpp | 97 …CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true), in TEST() 102 …CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true), in TEST() 103 …CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(20, CSSPrimitiveValue::CSS_PX), true), in TEST() 117 …CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(50, CSSPrimitiveValue::CSS_PX), true), in TEST() 121 …CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(20, CSSPrimitiveValue::CSS_PX), true), in TEST()
|
D | CSSPrimitiveValue.cpp | 78 case CSSPrimitiveValue::CSS_PX: in isValidCSSUnitTypeForDoubleConversion() 120 table.set(String("px"), CSSPrimitiveValue::CSS_PX); in createStringToUnitTable() 162 case CSS_PX: in unitCategory() 228 return CSS_PX; in primitiveType() 354 m_primitiveUnitType = CSS_PX; in CSSPrimitiveValue() 369 m_primitiveUnitType = CSS_PX; in CSSPrimitiveValue() 495 case CSS_PX: in cleanup() 635 case CSS_PX: in computeLengthDouble() 712 case CSS_PX: in conversionToCanonicalUnitsScaleFactor() 790 return CSS_PX; in canonicalUnitTypeForCategory() [all …]
|
D | CSSPrimitiveValue.h | 80 CSS_PX = 5, enumerator 181 …bool isFontIndependentLength() const { return m_primitiveUnitType >= CSS_PX && m_primitiveUnitType… in isFontIndependentLength() 198 bool isPx() const { return primitiveType() == CSS_PX; } in isPx()
|
D | MediaValuesTest.cpp | 28 { 40.0, CSSPrimitiveValue::CSS_PX, 16, 300, 300, true, 40 }, in TEST()
|
D | CSSValuePool.cpp | 106 case CSSPrimitiveValue::CSS_PX: in createValue()
|
D | CSSPrimitiveValue.idl | 29 const unsigned short CSS_PX = 5;
|
D | CSSCalculationValue.cpp | 59 case CSSPrimitiveValue::CSS_PX: in unitCategory() 97 case CSSPrimitiveValue::CSS_PX: in hasDoubleValue() 746 …createExpressionNode(CSSPrimitiveValue::create(pixels, CSSPrimitiveValue::CSS_PX), pixels == trunc… in createExpressionNode()
|
D | MediaValues.cpp | 154 case CSSPrimitiveValue::CSS_PX: in computeLengthImpl()
|
D | MediaQueryExp.cpp | 83 case CSSPrimitiveValue::CSS_PX: in positiveLengthUnit()
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
D | MockPagePopupDriver.cpp | 67 m_iframe->setInlineStyleProperty(CSSPropertyBorderWidth, 0.0, CSSPrimitiveValue::CSS_PX); in MockPagePopup() 69 …tInlineStyleProperty(CSSPropertyLeft, originBoundsInRootView.x(), CSSPrimitiveValue::CSS_PX, true); in MockPagePopup() 70 …nlineStyleProperty(CSSPropertyTop, originBoundsInRootView.maxY(), CSSPrimitiveValue::CSS_PX, true); in MockPagePopup()
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
D | VTTRegion.cpp | 342 m_cueContainer->setInlineStyleProperty(CSSPropertyTop, m_currentTop, CSSPrimitiveValue::CSS_PX); in willRemoveVTTCueBox() 386 … m_cueContainer->setInlineStyleProperty(CSSPropertyTop, m_currentTop, CSSPrimitiveValue::CSS_PX); in displayLastVTTCueBox() 436 CSSPrimitiveValue::CSS_PX); in prepareRegionDisplayTree()
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
D | MediaQueryToken.cpp | 95 else if (m_unit == CSSPrimitiveValue::CSS_PX) in textForUnitTests()
|
D | BisonCSSParser-in.cpp | 309 unit = CSSPrimitiveValue::CSS_PX; in parseSimpleLength() 348 unit = CSSPrimitiveValue::CSS_PX; in parseSimpleLengthValue() 722 if (unit != CSSPrimitiveValue::CSS_PX && (number || unit != CSSPrimitiveValue::CSS_NUMBER)) in parseTransformTranslateArguments() 724 transformValue->append(cssValuePool().createValue(number, CSSPrimitiveValue::CSS_PX)); in parseTransformTranslateArguments()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderLayerScrollableArea.cpp | 1357 …neStyleProperty(CSSPropertyMarginLeft, box().marginLeft() / zoomFactor, CSSPrimitiveValue::CSS_PX); in resize() 1358 …StyleProperty(CSSPropertyMarginRight, box().marginRight() / zoomFactor, CSSPrimitiveValue::CSS_PX); in resize() 1362 …eProperty(CSSPropertyWidth, roundToInt(baseWidth + difference.width()), CSSPrimitiveValue::CSS_PX); in resize() 1368 …lineStyleProperty(CSSPropertyMarginTop, box().marginTop() / zoomFactor, CSSPrimitiveValue::CSS_PX); in resize() 1369 …yleProperty(CSSPropertyMarginBottom, box().marginBottom() / zoomFactor, CSSPrimitiveValue::CSS_PX); in resize() 1373 …operty(CSSPropertyHeight, roundToInt(baseHeight + difference.height()), CSSPrimitiveValue::CSS_PX); in resize()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGLength.cpp | 283 case CSSPrimitiveValue::CSS_PX: in fromCSSPrimitiveValue() 330 cssType = CSSPrimitiveValue::CSS_PX; in toCSSPrimitiveValue()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | EditingStyle.cpp | 1253 …tableStyle->setProperty(CSSPropertyLeft, cssValuePool().createValue(x, CSSPrimitiveValue::CSS_PX)); in addAbsolutePositioningFromElement() 1254 …utableStyle->setProperty(CSSPropertyTop, cssValuePool().createValue(y, CSSPrimitiveValue::CSS_PX)); in addAbsolutePositioningFromElement() 1255 …Style->setProperty(CSSPropertyWidth, cssValuePool().createValue(width, CSSPrimitiveValue::CSS_PX)); in addAbsolutePositioningFromElement() 1256 …yle->setProperty(CSSPropertyHeight, cssValuePool().createValue(height, CSSPrimitiveValue::CSS_PX)); in addAbsolutePositioningFromElement() 1638 int pixelFontSize = value->getIntValue(CSSPrimitiveValue::CSS_PX); in legacyFontSizeFromCSSValue()
|
D | ApplyStyleCommand.cpp | 419 …SSPropertyFontSize, cssValuePool().createValue(desiredFontSize, CSSPrimitiveValue::CSS_PX), false); in applyRelativeFontStyleChange() 1533 return value->getFloatValue(CSSPrimitiveValue::CSS_PX); in computedFontSize()
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
D | MediaControlElements.cpp | 773 setInlineStyleProperty(CSSPropertyFontSize, fontSize, CSSPrimitiveValue::CSS_PX); in updateSizes()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
D | treeoutline.js | 1012 …putedLeftPadding = paddingLeftValue ? paddingLeftValue.getFloatValue(CSSPrimitiveValue.CSS_PX) : 0;
|