Closed Bug 792530 Opened 12 years ago Closed 12 years ago

SVGs are blurry when resized if width and height attributes set `px` values

Categories

(Firefox :: Untriaged, defect)

15 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 600207

People

(Reporter: admin, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 Steps to reproduce: I created a SVG element used in background image and setted `height` and `width` attributes in pixels to keep proportion. Actual results: The SVG element get scaled up or down (depending on the browser window size) and the SVG get very blurry. Example here: http://dabblet.com/gist/3751671 (resize browser window) Expected results: The SVG should have kept good proportion and stay clear. For developper, a fix to this issue is to set width and height attributes in percentage. This will make Firefox behave correctly.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.