Changeset 53561 in webkit
- Timestamp:
- Jan 20, 2010 1:37:17 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r53560 r53561 1 2010-01-19 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Beth Dakin. 4 5 Insufficient repaint issues with html embedded in foreignObject 6 https://bugs.webkit.org/show_bug.cgi?id=16318 7 8 Partial fix for selection repaint in foreignObject, basically we 9 just need to make sure foreignObject correctly applies the svg 10 transform to the selection rect. 11 12 * rendering/RenderBlock.cpp: 13 (WebCore::RenderBlock::paintSelection): 14 * rendering/RenderForeignObject.cpp: 15 (WebCore::RenderForeignObject::mapLocalToContainer): 16 * rendering/RenderForeignObject.h: 17 1 18 2010-01-20 Kevin Ollivier <kevino@theolliviers.com> 2 19 -
trunk/WebCore/rendering/RenderBlock.cpp
r53525 r53561 1958 1958 if (!gapRectsBounds.isEmpty()) { 1959 1959 if (RenderLayer* layer = enclosingLayer()) { 1960 IntSize offset = hasLayer() ? IntSize() : offsetFromAncestorContainer(layer->renderer()); 1961 gapRectsBounds.move(offset - IntSize(tx, ty)); 1960 if (!hasLayer()) { 1961 FloatRect localBounds(gapRectsBounds); 1962 gapRectsBounds = localToContainerQuad(localBounds, layer->renderer()).enclosingBoundingBox(); 1963 } 1962 1964 layer->addBlockSelectionGapsBounds(gapRectsBounds); 1963 1965 } -
trunk/WebCore/rendering/RenderForeignObject.cpp
r53365 r53561 121 121 } 122 122 123 void RenderForeignObject::mapLocalToContainer(RenderBoxModelObject* repaintContainer, bool fixed , bool useTransforms, TransformState& transformState) const 124 { 125 SVGRenderBase::mapLocalToContainer(this, repaintContainer, fixed, useTransforms, transformState); 126 } 127 123 128 } // namespace WebCore 124 129 -
trunk/WebCore/rendering/RenderForeignObject.h
r53365 r53561 53 53 virtual bool isSVGForeignObject() const { return true; } 54 54 55 virtual void mapLocalToContainer(RenderBoxModelObject* repaintContainer, bool fixed , bool useTransforms, TransformState& transformState) const; 56 55 57 private: 56 58 TransformationMatrix translationForAttributes() const;
Note: See TracChangeset
for help on using the changeset viewer.