Home
last modified time | relevance | path

Searched refs:CSS_PX (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLHRElement.cpp55 …ddPropertyToPresentationAttributeStyle(style, CSSPropertyMarginLeft, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
59 …dPropertyToPresentationAttributeStyle(style, CSSPropertyMarginRight, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
68 … addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, 1, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
87 …rtyToPresentationAttributeStyle(style, CSSPropertyBorderBottomWidth, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
89 …ropertyToPresentationAttributeStyle(style, CSSPropertyHeight, size - 2, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
DHTMLEmbedElement.cpp82 … addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
83 … addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
DHTMLTableElement.cpp304 …eStyle(style, CSSPropertyBorderWidth, parseBorderWidthAttribute(value), CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
487 …yle->setProperty(CSSPropertyBorderWidth, cssValuePool().createValue(1, CSSPrimitiveValue::CSS_PX)); in createSharedCellStyle()
492 …yle->setProperty(CSSPropertyBorderWidth, cssValuePool().createValue(1, CSSPrimitiveValue::CSS_PX)); in createSharedCellStyle()
502 …>setProperty(CSSPropertyPadding, cssValuePool().createValue(m_padding, CSSPrimitiveValue::CSS_PX)); in createSharedCellStyle()
DHTMLIFrameElement.cpp66 …dPropertyToPresentationAttributeStyle(style, CSSPropertyBorderWidth, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
DHTMLElement.cpp131 …eStyle(style, CSSPropertyBorderWidth, parseBorderWidthAttribute(value), CSSPrimitiveValue::CSS_PX); in applyBorderAttributeToStyle()
/external/chromium_org/third_party/WebKit/Source/core/animation/interpolation/
DLengthStyleInterpolationTest.cpp84 …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()
DLengthStyleInterpolation.cpp82 return CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PX); in interpolableValueToLength()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSCalculationValueTest.cpp97 …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()
DCSSPrimitiveValue.cpp78 case CSSPrimitiveValue::CSS_PX: in isValidCSSUnitTypeForDoubleConversion()
123 table.set(String("px"), CSSPrimitiveValue::CSS_PX); in createStringToUnitTable()
162 case CSS_PX: in unitCategory()
224 return CSS_PX; in primitiveType()
355 m_primitiveUnitType = CSS_PX; in CSSPrimitiveValue()
370 m_primitiveUnitType = CSS_PX; in CSSPrimitiveValue()
497 case CSS_PX: in cleanup()
625 case CSS_PX: in computeLengthDouble()
702 case CSS_PX: in conversionToCanonicalUnitsScaleFactor()
780 return CSS_PX; in canonicalUnitTypeForCategory()
[all …]
DMediaValuesTest.cpp28 { 40.0, CSSPrimitiveValue::CSS_PX, 16, 300, 300, true, 40 }, in TEST()
DCSSPrimitiveValue.h80 CSS_PX = 5, enumerator
186 …bool isFontIndependentLength() const { return m_primitiveUnitType >= CSS_PX && m_primitiveUnitType… in isFontIndependentLength()
203 bool isPx() const { return primitiveType() == CSS_PX; } in isPx()
DCSSPrimitiveValue.idl29 const unsigned short CSS_PX = 5;
DCSSValuePool.cpp111 case CSSPrimitiveValue::CSS_PX: in createValue()
DCSSCalculationValue.cpp60 case CSSPrimitiveValue::CSS_PX: in unitCategory()
90 case CSSPrimitiveValue::CSS_PX: in hasDoubleValue()
735 …createExpressionNode(CSSPrimitiveValue::create(pixels, CSSPrimitiveValue::CSS_PX), pixels == trunc… in createExpressionNode()
DMediaValues.cpp156 case CSSPrimitiveValue::CSS_PX: in computeLengthImpl()
DCSSParserValues.cpp100 case CSSPrimitiveValue::CSS_PX: in createCSSValue()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DMockPagePopupDriver.cpp66 m_iframe->setInlineStyleProperty(CSSPropertyBorderWidth, 0.0, CSSPrimitiveValue::CSS_PX); in MockPagePopup()
68 …tInlineStyleProperty(CSSPropertyLeft, originBoundsInRootView.x(), CSSPrimitiveValue::CSS_PX, true); in MockPagePopup()
69 …nlineStyleProperty(CSSPropertyTop, originBoundsInRootView.maxY(), CSSPrimitiveValue::CSS_PX, true); in MockPagePopup()
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DVTTRegion.cpp341 m_cueContainer->setInlineStyleProperty(CSSPropertyTop, m_currentTop, CSSPrimitiveValue::CSS_PX); in willRemoveVTTCueBox()
384 … m_cueContainer->setInlineStyleProperty(CSSPropertyTop, m_currentTop, CSSPrimitiveValue::CSS_PX); in displayLastVTTCueBox()
434 CSSPrimitiveValue::CSS_PX); in prepareRegionDisplayTree()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DMediaQueryToken.cpp95 else if (m_unit == CSSPrimitiveValue::CSS_PX) in textForUnitTests()
DBisonCSSParser-in.cpp311 unit = CSSPrimitiveValue::CSS_PX; in parseSimpleLength()
350 unit = CSSPrimitiveValue::CSS_PX; in parseSimpleLengthValue()
740 if (unit != CSSPrimitiveValue::CSS_PX && (number || unit != CSSPrimitiveValue::CSS_NUMBER)) in parseTransformTranslateArguments()
742 transformValue->append(cssValuePool().createValue(number, CSSPrimitiveValue::CSS_PX)); in parseTransformTranslateArguments()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderLayerScrollableArea.cpp1355 …neStyleProperty(CSSPropertyMarginLeft, box().marginLeft() / zoomFactor, CSSPrimitiveValue::CSS_PX); in resize()
1356 …StyleProperty(CSSPropertyMarginRight, box().marginRight() / zoomFactor, CSSPrimitiveValue::CSS_PX); in resize()
1360 …eProperty(CSSPropertyWidth, roundToInt(baseWidth + difference.width()), CSSPrimitiveValue::CSS_PX); in resize()
1366 …lineStyleProperty(CSSPropertyMarginTop, box().marginTop() / zoomFactor, CSSPrimitiveValue::CSS_PX); in resize()
1367 …yleProperty(CSSPropertyMarginBottom, box().marginBottom() / zoomFactor, CSSPrimitiveValue::CSS_PX); in resize()
1371 …operty(CSSPropertyHeight, roundToInt(baseHeight + difference.height()), CSSPrimitiveValue::CSS_PX); in resize()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGLength.cpp283 case CSSPrimitiveValue::CSS_PX: in fromCSSPrimitiveValue()
336 cssType = CSSPrimitiveValue::CSS_PX; in toCSSPrimitiveValue()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DMediaControlElements.cpp719 setInlineStyleProperty(CSSPropertyFontSize, fontSize, CSSPrimitiveValue::CSS_PX); in updateSizes()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
Dtreeoutline.js987 …putedLeftPadding = paddingLeftValue ? paddingLeftValue.getFloatValue(CSSPrimitiveValue.CSS_PX) : 0;
/external/chromium_org/third_party/WebKit/Source/core/editing/
DApplyStyleCommand.cpp417 …SSPropertyFontSize, cssValuePool().createValue(desiredFontSize, CSSPrimitiveValue::CSS_PX), false); in applyRelativeFontStyleChange()
1533 return value->getFloatValue(CSSPrimitiveValue::CSS_PX); in computedFontSize()

12