Closed Bug 124454 Opened 23 years ago Closed 22 years ago

Page info displays media/images at the wrong size.

Categories

(SeaMonkey :: Page Info, defect, P3)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.1beta

People

(Reporter: jmd, Assigned: db48x)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Page info displays images of type icon at the wrong size.

For example, go to my page, http://turbogeek.org , and look under media in page
info. First image is the icon. It's slightly smushed, though. 15x15 instead of
16x16 perhaps.

Also, the dimentions are listed as unknown. It's a normal PNG. Shows right if
you access it directly.
over to page info
Component: XP Apps → Page Info
QA Contact: sairuh → pmac
This happens with all images. Displayed image size is original size minus
border-width, i.e. a 16x16 icon is shown as 12x12 plus 2px border on each side.

That means, of course, that images smaller than 4px are not shown at all.
hrm. if this is the case than it's a regression of some kind, or at the very
least it's related to the old bug where it listed the dimensions minus the
border width. Do the image dimensions print out correctly?
It doesn't print out the dimensions on a favicon.
OS: Linux → All
As far as I can see, image dimensions print out correctly for normal images.
It's just the image display that ist wrong.
the problem is that the DOM doesn't expose the dimensions because it's not
really an image tag, it's a link.
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.1beta
Not just icons. All graphics are being scaled from x*y to (x-1)*(y-1). Makes
certain images look awful. All five images on my page (turbogeek.org) are being
scaled down by 1px it looks like. Screwed the w3 icons up badly.
Summary: Page info displays media/images of type icon at the wrong size. → Page info displays media/images at the wrong size.
that's a different bug. if you take the border off of the image, the scaling 
effect goes away. it's really weird.
Attached patch removes border as workaround (obsolete) — Splinter Review
also makes the preview area bigger by making the image list a bit smaller. it
was too big before.
+  margin: 1em;x

er.. "x"? typo, or some CSS thing I don't know about. Anyway, fix here would be
super nice. Keep up the good work.
Attached patch oopsiesSplinter Review
Attachment #95151 - Attachment is obsolete: true
Comment on attachment 95157 [details] [diff] [review]
oopsies

sr=bzbarsky
Attachment #95157 - Flags: superreview+
New patch looks good. Works for me, and, though I have no review powers, since
you're the component owner, and I'm the reporter... review process be damned! r=jmd
Comment on attachment 95157 [details] [diff] [review]
oopsies

r=alecf
Attachment #95157 - Flags: review+
checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: