Closed Bug 151718 Opened 22 years ago Closed 22 years ago

no dimensions for site icon (favicon) at mozilla.org

Categories

(SeaMonkey :: Page Info, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aha, Assigned: db48x)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Repro:
1. open http://www.mozilla.org/ (or any with favicon)
2. open Page Info | Media
3. select site icon

Actual:
Dimensions are Width: px and Height: px

Expected:
Real dimensions or display 'Unknown' instead actual 'Width: px  Height: px'

2002061308/trunk/W2K
Pretty sure this is a dup. The acutal problem is in the DOM, the width/height
aren't exposed for this particular type of image.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Whiteboard: dupme
In bug 124454 in 4th comment (
http://bugzilla.mozilla.org/show_bug.cgi?id=124454#c4 ) Neil Marshall noted it,
but bug description looks different - it's about displaying image, not about
image sizes. 

Also bug 122125 is related - real dimensions of images, but I don't think, that
isn't real dupe, rather this bug depends on it, because both IMHO need same backend.
Blocks: 120352
ok, I found a trick that fixed this, yay. 
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Daniel, but with actual nightbuild shortcut icon is not listed in Media tab.
Whiteboard: dupme
errr
yea, I'm just dumb
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch it's a copy and paste bug (obsolete) (deleted) — Splinter Review
not to mention lax testing on my part :P
       // should this test use regexes to be a little more lenient wrt whitespace?

Move that comment to where it's relevant and sr=bzbarsky
Attached patch comment moved (deleted) — Splinter Review
Attachment #104323 - Attachment is obsolete: true
Comment on attachment 104339 [details] [diff] [review]
comment moved

as seen on TV
Attachment #104339 - Flags: superreview+
Comment on attachment 104339 [details] [diff] [review]
comment moved

simple enough.	r=me
Attachment #104339 - Flags: review+
bz checked this in last night.
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
Is the favicon purposely not listed in the Media tab on the trunk?
they should be listed now that the patch is in
I just upgraded, and favicons show up in the list just fine.
Linux 2002103010, they're not there. They're in the Link tab. Not in Media.
Patch should be in this build.
yea, it should be there. what's on line 505 of your pageinfo.js?
(chrome://navigator/content/pageInfo.js)
It's good, but not perfect: When you firstly open Media tab using
2002103008/trunk/W2K on http://www.mozilla.org, both dimensions for
mozilla-16.png are 0px. When you switch to mozilla-banner.gif and back to
mozilla-16.png, dimensions are correct - 16px both.

BTW there are several ways to call shortcut icon, but only one is supported by
Page Info:
<link REL="icon" HREF="images/mozilla-16.png" TYPE="image/png">

For example, this case is not actually supported by PageInfo:
<link REL="SHORTCUT ICON" HREF="images/mozilla-16.png" TYPE="image/png">

-> REOPEN
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
lxr is broken. supporting "shortcut icon" is bug 177047, and should go in
tommorrow or the next day.
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
Daniel: thanx for pointing to bug 177047, but what about 0px problem?
what site are you seeing this on?
Again:
It's good, but not perfect: When you firstly open Media tab using
2002103008/trunk/W2K on http://www.mozilla.org, both dimensions for
                        ^^^^^^^^^^^^^^^^^^^^^^
mozilla-16.png are 0px. When you switch to mozilla-banner.gif and back to
mozilla-16.png, dimensions are correct - 16px both.
dunno man. I just now downloaded 2002103110 and it works fine. are there any js
errors?
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: