Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

bookmark is invisible if favicon.ico is not found #2075

Closed
luixxiul opened this issue Jun 4, 2016 · 8 comments
Closed

bookmark is invisible if favicon.ico is not found #2075

luixxiul opened this issue Jun 4, 2016 · 8 comments
Assignees
Milestone

Comments

@luixxiul
Copy link
Contributor

luixxiul commented Jun 4, 2016

Describe the issue you encountered: bookmark is invisible in "show only favicon mode" if favicon.ico is not found (404)

Expected behavior: a class should be added so that it can be styled

@bbondy
Copy link
Member

bbondy commented Jun 4, 2016

Maybe show a generic file icon in this case?

@luixxiul
Copy link
Contributor Author

luixxiul commented Jun 4, 2016

or border: 1px dotted?

@bbondy
Copy link
Member

bbondy commented Jun 4, 2016

@bradleyrichter for final say

@bsclifton
Copy link
Member

bsclifton commented Jun 4, 2016

This is a tough one... even if you're in the regular bookmarks toolbar view, it happens (just 16 pixels of dead space). I like the idea of showing a generic icon

The hard part of this defect is... it throws a 404 at the CSS level when the background-image: url(); part evaluates. It'll show the 404 in the JavaScript console, but I'm not sure how to intercept this. The ideal solution would be to intercept this, remove the background image CSS attribute and then add the classes "fa fa-file-o"

Any ideas on how to catch that? I put an onerror="" handler on the span owning the style that 404s, but it doesn't get executed.

@bradleyrichter
Copy link
Contributor

We should follow Chrome or FX lead on this one.

On Jun 4, 2016, at 8:16 AM, Brian Clifton notifications@github.com wrote:

This is a tough one... even if you're in the regular bookmarks toolbar view, it happens (just 16 pixels of dead space). I like the idea of showing a generic icon

The hard part of this defect is... it throws a 404 at the CSS level when the background-image: url(); part evaluates. It'll show the 404 in the JavaScript console, but I'm not sure how to intercept this. The ideal solution would be to intercept this, remove the background image CSS attribute and then add the classes "fa fa-file-o"


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@cezaraugusto
Copy link
Contributor

@bradleyrichter Chrome sets its own "paper" icon for bookmarks. Can we have one as well?

@cezaraugusto cezaraugusto self-assigned this Nov 4, 2016
@bradleyrichter
Copy link
Contributor

yes please.

FA file-o

@luixxiul
Copy link
Contributor Author

Test plan: #5826 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants