Bug 12129

Summary: repaint issue after setting viewBox attribute with ECMAScript
Product: WebKit Reporter: Andreas Neumann <a.neumann>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac (PowerPC)   
OS: OS X 10.4   
URL: http://www.carto.net/papers/svg/samples/viewbox.shtml
Bug Depends on:    
Bug Blocks: 12181    
Attachments:
Description Flags
First attempt
none
Improved patch eric: review+

Andreas Neumann
Reported 2007-01-05 12:15:50 PST
In this example it seems like the viewBox is set correctly (after clicking on one of the green links right of the SVG (Vorarlberg, Salzburg, Austria)), but the SVG canvas does not update. If one scrolls the HTML down so that the SVG canvas isn't visible and then back to make the SVG canvas visible again, it seems to get updated. Thanks for checking on this bug!
Attachments
First attempt (9.66 KB, patch)
2007-01-08 14:23 PST, Rob Buis
no flags
Improved patch (9.08 KB, patch)
2007-01-09 03:12 PST, Rob Buis
eric: review+
Rob Buis
Comment 1 2007-01-08 14:23:19 PST
Created attachment 12310 [details] First attempt This patch fixes the test svg given by Andreas. Cheers, Ron.
Rob Buis
Comment 2 2007-01-09 03:12:59 PST
Created attachment 12326 [details] Improved patch After talking things through with Eric, this may be a better approach. Cheers, Rob.
Eric Seidel (no email)
Comment 3 2007-01-09 03:19:35 PST
Comment on attachment 12326 [details] Improved patch We talked about some improvements to the test case over IRC. The code looks good. We'll need to fix dynamic updates of meet and slice as well (as those are equally broken). Assuming you update the test case as we talked about, r=me.
Rob Buis
Comment 4 2007-01-09 07:29:29 PST
Landed in 18705.
Note You need to log in before you can comment on or make changes to this bug.