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)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.1beta
People
(Reporter: jmd, Assigned: db48x)
References
()
Details
Attachments
(1 file, 1 obsolete file)
1.07 KB,
patch
|
alecf
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
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.
Comment 2•23 years ago
|
||
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.
Assignee | ||
Comment 3•23 years ago
|
||
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?
Comment 5•23 years ago
|
||
As far as I can see, image dimensions print out correctly for normal images. It's just the image display that ist wrong.
Assignee | ||
Comment 6•23 years ago
|
||
the problem is that the DOM doesn't expose the dimensions because it's not really an image tag, it's a link.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.1beta
Reporter | ||
Comment 7•22 years ago
|
||
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.
Assignee | ||
Comment 8•22 years ago
|
||
that's a different bug. if you take the border off of the image, the scaling effect goes away. it's really weird.
Assignee | ||
Comment 9•22 years ago
|
||
also makes the preview area bigger by making the image list a bit smaller. it was too big before.
Reporter | ||
Comment 10•22 years ago
|
||
+ 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.
Assignee | ||
Comment 11•22 years ago
|
||
Attachment #95151 -
Attachment is obsolete: true
![]() |
||
Comment 12•22 years ago
|
||
Comment on attachment 95157 [details] [diff] [review] oopsies sr=bzbarsky
Attachment #95157 -
Flags: superreview+
Reporter | ||
Comment 13•22 years ago
|
||
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 14•22 years ago
|
||
Comment on attachment 95157 [details] [diff] [review] oopsies r=alecf
Attachment #95157 -
Flags: review+
Comment 15•22 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•