Git Product home page Git Product logo

Comments (1)

Mardak avatar Mardak commented on June 20, 2024

@da2x Firefox 57's implementation of getting rich icons does prefer svg. It was implemented here: https://bugzilla.mozilla.org/show_bug.cgi?id=1352459

On this test page, it just has 2 <link>s: https://ed.agadak.net/icon.html

<link rel="icon" href="https://hg.mozilla.org/mozilla-central/raw-file/tip/browser/base/content/abouthome/mozilla.svg" sizes="any" type="image/svg"/>
<link rel="apple-touch-icon" href="https://www.mozilla.org/media/img/favicon/favicon-196x196.c80e6abe0767.png" sizes="196x196" type="image/png"/>

As you can see, Top Sites uses the highest resolution icon available. In this case svg over the "m" 196px png:
image

Firefox ends up treating "icon" and "apple-touch-icon" both as fallbacks if there are no svg icons. And most pages on the web don't use svg as their "icon". I believe Firefox is already implementing your requested <link rel="icon" sizes="any" href="/icon.svg"> reign supreme

from page-metadata-parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.