I'm working on an SVG application where I depend on using viewBox settings to scale certain components to the size of the browser window. In Firefox, the scaling works as intended: in the noted example, the gray background box and red path grow horizontally to fill the window while the flower and paths associated with the title/subtitle remain static. In WebKit (Safari, Chrome, and the latest WebKit nightly), there are two problems: 1. The graphic is initially rendered to almost fill the screen horizontally, but leaves some space on the right (incidentally, exactly enough space to accommodate the vertical scroll bar, if one exists). If a scrollbar exists, the graphic is sized appropriately, but does not dynamically resize as the window size is changed (problem 2). 2. The graphic does not change as the window is re-sized; only a refresh will cause the size to reset. When reset, the size exhibits the same gap on the right that is noted in problem 1. I observe this exact behavior on my Mac 10.5 system in Safari and WebKit, as well as my Windows Vista system in Chrome. Thanks!
Confirmed that problem exists in Safari 4 as well.
Can someone duplicate this to Bug 17424 ?
Fixed in trunk, works just like in Opera. Please retry.