Changeset 106303 in webkit
- Timestamp:
- Jan 30, 2012, 5:07:00 PM (15 years ago)
- Location:
- branches/subpixellayout/Source/WebCore/css
- Files:
-
- 2 edited
-
CSSComputedStyleDeclaration.cpp (modified) (1 diff)
-
CSSPrimitiveValue.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/subpixellayout/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r105563 r106303 505 505 } 506 506 507 inline static PassRefPtr<CSSPrimitiveValue> zoomAdjustedPixelValue( intvalue, const RenderStyle* style, CSSValuePool* cssValuePool)508 { 509 return cssValuePool->createValue(adjustF orAbsoluteZoom(value, style), CSSPrimitiveValue::CSS_PX);507 inline static PassRefPtr<CSSPrimitiveValue> zoomAdjustedPixelValue(double value, const RenderStyle* style, CSSValuePool* cssValuePool) 508 { 509 return cssValuePool->createValue(adjustFloatForAbsoluteZoom(value, style), CSSPrimitiveValue::CSS_PX); 510 510 } 511 511 -
branches/subpixellayout/Source/WebCore/css/CSSPrimitiveValue.cpp
r105830 r106303 741 741 break; 742 742 case CSS_PX: 743 text = formatNumber( m_value.num) + "px";743 text = formatNumber(static_cast<int>(m_value.num)) + "px"; 744 744 break; 745 745 case CSS_CM:
Note:
See TracChangeset
for help on using the changeset viewer.