WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
26129
SVG dynamic scaling broken
https://bugs.webkit.org/show_bug.cgi?id=26129
Summary
SVG dynamic scaling broken
Justin Thomas
Reported
2009-06-01 21:49:24 PDT
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!
Attachments
Add attachment
proposed patch, testcase, etc.
Justin Thomas
Comment 1
2009-06-19 22:15:30 PDT
Confirmed that problem exists in Safari 4 as well.
Jeff Schiller
Comment 2
2009-11-05 11:17:36 PST
Can someone duplicate this to
Bug 17424
?
Nikolas Zimmermann
Comment 3
2010-02-09 07:39:45 PST
Fixed in trunk, works just like in Opera. Please retry.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug