STR: 1. Visit http://www.w3.org/Graphics/SVG/Test/20011026/linking-view-BE-04.svg 2. Click "Go to Ellipse" --> (rendering changes to just show the blue ellipse) 3. Navigate back a page (Click Firefox's back button, or press Alt + LeftArrow) ACTUAL RESULTS: Blank page EXPECTED RESULTS: original rendering, with multiple shapes visible Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 Built from http://hg.mozilla.org/mozilla-central/rev/f89feda9d997
Created attachment 651733 [details] [diff] [review] patch
There is no viewbox to start with so when we save it we save 0 0 0 0 as the viewbox coordinates since we save whether or not there is a viewbox. We then restore this as the viewbox.