Closed
Bug 548485
Opened 13 years ago
Closed 12 years ago
Stand-alone SVG files don't display in Tabsposé
Categories
(Camino Graveyard :: Tabbed Browsing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alqahira, Assigned: alqahira)
References
(Blocks 1 open bug, )
Details
(Keywords: regression)
Attachments
(1 file)
1.58 KB,
patch
|
stuart.morgan+bugzilla
:
superreview+
|
Details | Diff | Splinter Review |
Back in bug 461927, Stuart fixed XML-based filetypes so that they displayed in Tabsposé. Unfortunately, stand-alone SVG files now display as blank thumbnails on 1.9.2 (other XML-based documents, and SVG embedded in other documents, thumbnail OK). Note that bug 461927 noted a problem with GetClientWidth, and that moved/changed in 1.9.2 (see bug 544712); perhaps that's related? http://www.croczilla.com/bits_and_pieces/svg/samples/chem1/chem1.svg http://upload.wikimedia.org/wikipedia/commons/c/c7/SVG.svg
Assignee | ||
Comment 1•12 years ago
|
||
I futzed around with this some, and basically all I was able to determine is that GeckoUtils::GetIntrinsicSize does indeed fail in this case. It's unclear why this is getting reset to 0 inside GetIntrinsicSize (and/or what sort of nsIDOMNSElement we are getting that's causing us to return 0 in GIS). We can paper-over this bug again by using the viewport size in these cases, rather than 1. In that case, Stuart wanted to init the values to 0: [5:08pm] smorgan: But I'd be okay with a change to init the values to 0, and have the 0 check cases use viewport
Assignee: nobody → alqahira
Status: NEW → ASSIGNED
Attachment #506958 -
Flags: superreview?(stuart.morgan+bugzilla)
Comment 2•12 years ago
|
||
Comment on attachment 506958 [details] [diff] [review] Switch to viewportSize as the fallback sr=smorgan, but please file a bug to investigate why GetIntrinsicSize is giving the wrong answer.
Attachment #506958 -
Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Assignee | ||
Comment 3•12 years ago
|
||
http://hg.mozilla.org/camino/rev/0a345af355d0 (In reply to comment #2) > sr=smorgan, but please file a bug to investigate why GetIntrinsicSize is giving > the wrong answer. Filed bug 630762 for that.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•