Changeset 100189 in webkit
- Timestamp:
- Nov 14, 2011, 2:19:24 PM (15 years ago)
- Location:
- branches/subpixellayout/Source/WebCore
- Files:
-
- 2 edited
-
css/CSSPrimitiveValue.cpp (modified) (1 diff)
-
rendering/RenderTreeAsText.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/subpixellayout/Source/WebCore/css/CSSPrimitiveValue.cpp
r99784 r100189 346 346 { 347 347 // FIXME: Length.h no longer expects 28 bit integers, so these bounds should be INT_MAX and INT_MIN 348 return Length( static_cast<float>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize)), Fixed);348 return Length(roundForImpreciseConversion<int, intMaxForLength, intMinForLength>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize)), Fixed); 349 349 } 350 350 -
branches/subpixellayout/Source/WebCore/rendering/RenderTreeAsText.cpp
r99259 r100189 314 314 r.move(0, -toRenderTableCell(o.containingBlock())->intrinsicPaddingBefore()); 315 315 316 // FIXME: Convert layout test results to report sub-pixel values, in the meantime using enclosingIntRect 317 // for consistency with old results. 318 r = enclosingIntRect(r); 316 319 ts << " " << r; 317 320
Note:
See TracChangeset
for help on using the changeset viewer.