Closed
Bug 771520
Opened 12 years ago
Closed 10 years ago
SVG doesn't resize correctly until page resizes
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: morandidodo, Unassigned)
References
Details
Attachments
(4 files, 2 obsolete files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1 Build ID: 20120615112143 Steps to reproduce: I have a <object> refering to an SVG. This has a defined viewBox so it should resize automagically. The <object> has its width defined in percentage inside a stylesheet. Actual results: The SVG is not resized correctly but mantains its default sizes until the page is resized. Expected results: The SVG size should be correctly set when the page is loaded, not only after it's resized.
Updated•12 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Reporter | ||
Comment 2•12 years ago
|
||
My fault: I noticed the problem only verifies with transformed SVG, with plain SVG it's ok.
Reporter | ||
Comment 3•12 years ago
|
||
Reporter | ||
Comment 4•12 years ago
|
||
I tested your testcase with Inspector. The object resizes according to the page, but the SVG element keeps its size until I click on object element. In my snapshot, the black rectangle is the element 'object' and the white rectangle is the element 'svg'. In addition there is a weird issue with your testcase, I filled bug 772497.
Updated•12 years ago
|
Attachment #639964 -
Attachment mime type: application/octet-stream → application/xhtml+xml
Updated•12 years ago
|
Attachment #639966 -
Attachment mime type: application/octet-stream → application/xslt+xml
Updated•12 years ago
|
Attachment #639966 -
Attachment mime type: application/xslt+xml → text/plain
Comment 6•10 years ago
|
||
Attachment #639965 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8485408 -
Attachment mime type: text/plain → text/xml
Updated•10 years ago
|
Attachment #639966 -
Attachment mime type: text/plain → application/xslt+xml
Comment 7•10 years ago
|
||
Attachment #639964 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8485409 -
Attachment mime type: text/plain → application/xhtml+xml
Comment 8•10 years ago
|
||
Fixed by bug 1063073
You need to log in
before you can comment on or make changes to this bug.
Description
•