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!
Created attachment 12310 [details] First attempt This patch fixes the test svg given by Andreas. Cheers, Ron.
Created attachment 12326 [details] Improved patch After talking things through with Eric, this may be a better approach. Cheers, Rob.
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.
Landed in 18705.