Giter VIP home page Giter VIP logo

css-font-face-unicode-range-rel's People

Contributors

kenjibaheux avatar

Watchers

 avatar  avatar  avatar

css-font-face-unicode-range-rel's Issues

rel(alternate) doesn't work as written

It sounds like the intended meaning of rel(alternate) is:

  1. Don't ever download this resource from the network. Only pull it from the cache, if possible.
  2. If it was located, invert the normal "last wins" relationship of @font-face rules, and just always use this. (Or maybe only do that for unicode-range? I'm not sure.)

I'm not really sure how this would work, or how to rigorously explain it, but it sounds like what you might want is to have a cache() function for src that only pulls from the cache, and then just put this @font-face last. If the srcs succeed, it'll win over all the partial fonts you specified earlier; if they fail, it'll automatically fall back to the partial fonts.

How do you expect things to make it into the cache if you're never actually loading them? Is it intended that this actually expresses a "low-priority" download semantic, or are you just relying on the fact that users might have already downloaded the given font from some other, less responsible webpage?

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.