Closed
Bug 843480
Opened 12 years ago
Closed 8 years ago
When applying page zoom to SVG in iframe both frame and contents are scaled
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
VERIFIED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | verified |
People
(Reporter: birtles, Assigned: longsonr)
References
Details
(Keywords: regression)
Attachments
(6 files)
When an HTML <iframe> points to an SVG file, typically the contents of the SVG file are scaled to fit the frame (assuming the viewBox is set and width/height are 100%). However, when applying page zoom it seems that both the frame and the contents are zoomed separately and hence the contents no longer fit the frame.
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
Reporter | ||
Comment 4•12 years ago
|
||
Appears to be a regression. Works fine with ESR 10.
Keywords: regression
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
could be bug 407495
Assignee | ||
Comment 8•8 years ago
|
||
Assignee: nobody → longsonr
Attachment #8776620 -
Flags: review?(jwatt)
Comment 9•8 years ago
|
||
Comment on attachment 8776620 [details] [diff] [review]
We should treat an iframe the same as object, embed etc.
Thanks, Robert! Would you be able to add a reftest for this in layout/reftests/svg/moz-only? I think you can set reftest-zoom="2" or something on the <html> element to trigger zoom.
Attachment #8776620 -
Flags: review?(jwatt) → review+
Assignee | ||
Comment 10•8 years ago
|
||
Assignee | ||
Comment 11•8 years ago
|
||
Assignee | ||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Pushed by longsonr@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/381a072b2525
zoom on iframe is applied twice. r=jwatt
Assignee | ||
Updated•8 years ago
|
Flags: in-testsuite+
Comment 14•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Comment 15•8 years ago
|
||
@Robert Longson: Thank you very much for fixing this issue! :)
Comment 16•8 years ago
|
||
I've managed to reproduced this bug on an older Nightly build from 2013-05-01, using Windows 10 64-bit.
This issue is verified fix on latest Nightly 51.0a1 (2016-08-04) using Windows 10, 64-bit.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•