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.cpp54 …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()
DHTMLEmbedElement.cpp82 … addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
83 … addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
DHTMLTableElement.cpp286 …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()
DHTMLIFrameElement.cpp67 …dPropertyToPresentationAttributeStyle(style, CSSPropertyBorderWidth, 0, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
/external/chromium_org/third_party/WebKit/Source/core/animation/
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()
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 …]
DCSSPrimitiveValue.h80 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()
DMediaValuesTest.cpp28 { 40.0, CSSPrimitiveValue::CSS_PX, 16, 300, 300, true, 40 }, in TEST()
DCSSValuePool.cpp106 case CSSPrimitiveValue::CSS_PX: in createValue()
DCSSPrimitiveValue.idl29 const unsigned short CSS_PX = 5;
DCSSCalculationValue.cpp59 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()
DMediaValues.cpp154 case CSSPrimitiveValue::CSS_PX: in computeLengthImpl()
DMediaQueryExp.cpp83 case CSSPrimitiveValue::CSS_PX: in positiveLengthUnit()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DMockPagePopupDriver.cpp67 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/
DVTTRegion.cpp342 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/
DMediaQueryToken.cpp95 else if (m_unit == CSSPrimitiveValue::CSS_PX) in textForUnitTests()
DBisonCSSParser-in.cpp309 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/
DRenderLayerScrollableArea.cpp1357 …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/
DSVGLength.cpp283 case CSSPrimitiveValue::CSS_PX: in fromCSSPrimitiveValue()
330 cssType = CSSPrimitiveValue::CSS_PX; in toCSSPrimitiveValue()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditingStyle.cpp1253 …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()
DApplyStyleCommand.cpp419 …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/
DMediaControlElements.cpp773 setInlineStyleProperty(CSSPropertyFontSize, fontSize, CSSPrimitiveValue::CSS_PX); in updateSizes()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
Dtreeoutline.js1012 …putedLeftPadding = paddingLeftValue ? paddingLeftValue.getFloatValue(CSSPrimitiveValue.CSS_PX) : 0;

12