Changeset 23544 in webkit
- Timestamp:
- Jun 14, 2007 6:41:48 PM (17 years ago)
- Location:
- branches/feature-branch
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-branch/LayoutTests/ChangeLog
r23530 r23544 1 2007-06-15 Rob Buis <buis@kde.org> 2 3 Reviewed by Eric. 4 5 Testcase for: 6 http://bugs.webkit.org/show_bug.cgi?id=14051 7 <svg:image> fails to position correctly when <svg> is inside an inline <div> 8 9 * svg/custom/image-parent-translation-expected.checksum: Added. 10 * svg/custom/image-parent-translation-expected.png: Added. 11 * svg/custom/image-parent-translation-expected.txt: Added. 12 * svg/custom/image-parent-translation.xhtml: Added. 13 1 14 2007-06-14 Rob Buis <buis@kde.org> 2 15 -
branches/feature-branch/WebCore/ChangeLog
r23543 r23544 1 2007-06-15 Rob Buis <buis@kde.org> 2 3 Reviewed by Eric. 4 5 http://bugs.webkit.org/show_bug.cgi?id=14051 6 <svg:image> fails to position correctly when <svg> is inside an inline <div> 7 8 Leave parent translation to the containers. 9 10 * rendering/RenderSVGImage.cpp: 11 (WebCore::RenderSVGImage::paint): 12 1 13 2007-06-15 Nikolas Zimmermann <zimmermann@kde.org> 2 14 -
branches/feature-branch/WebCore/rendering/RenderSVGImage.cpp
r22098 r23544 124 124 } 125 125 126 void RenderSVGImage::paint(PaintInfo& paintInfo, int parentX, int parentY)126 void RenderSVGImage::paint(PaintInfo& paintInfo, int, int) 127 127 { 128 128 if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN) … … 130 130 131 131 paintInfo.context->save(); 132 paintInfo.context->concatCTM(AffineTransform().translate(parentX, parentY));133 132 paintInfo.context->concatCTM(localTransform()); 134 133 paintInfo.context->concatCTM(translationForAttributes()); … … 172 171 173 172 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth()) 174 paintOutline(paintInfo.context, parentX, parentY, width(), height(), style());173 paintOutline(paintInfo.context, 0, 0, width(), height(), style()); 175 174 176 175 paintInfo.context->restore();
Note: See TracChangeset
for help on using the changeset viewer.