Bug 25254

Summary: computeContainerBoundingBox ignores viewport translations
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 20769    
Attachments:
Description Flags
Fix computeContainerBoundingBox to respect viewport translations simon.fraser: review+

Description Eric Seidel (no email) 2009-04-16 17:24:44 PDT
computeContainerBoundingBox ignores viewport translations

Thus our dumped render tree information is wrong.  And *worse yet* our invalidation would be wrong too when we switch to using my soon-to-be-added, simpler clippedOverflowRectForRepaint functions.
Comment 1 Eric Seidel (no email) 2009-04-16 17:28:21 PDT
Created attachment 29564 [details]
Fix computeContainerBoundingBox to respect viewport translations

 18 files changed, 79 insertions(+), 51 deletions(-)
Comment 2 Eric Seidel (no email) 2009-04-16 17:35:08 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	LayoutTests/ChangeLog
	M	LayoutTests/platform/mac/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.txt
	M	LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt
	M	LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
	M	LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-example-01-b-expected.txt
	M	LayoutTests/platform/mac/svg/W3C-SVG-1.1/struct-group-02-b-expected.txt
	M	LayoutTests/platform/mac/svg/W3C-SVG-1.1/struct-image-02-b-expected.txt
	M	LayoutTests/platform/mac/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt
	M	LayoutTests/platform/mac/svg/carto.net/textbox-expected.txt
	M	LayoutTests/platform/mac/svg/custom/feComponentTransfer-Discrete-expected.txt
	M	LayoutTests/platform/mac/svg/custom/feComponentTransfer-Gamma-expected.txt
	M	LayoutTests/platform/mac/svg/custom/feComponentTransfer-Linear-expected.txt
	M	LayoutTests/platform/mac/svg/custom/feComponentTransfer-Table-expected.txt
	M	LayoutTests/platform/mac/svg/custom/image-clipped-hit-expected.txt
	M	WebCore/ChangeLog
	M	WebCore/rendering/RenderSVGContainer.h
	M	WebCore/rendering/RenderSVGViewportContainer.h
	M	WebCore/rendering/SVGRenderSupport.cpp
Committed r42599