Coder Social home page Coder Social logo

standards-notes's People

Contributors

dlaliberte avatar

Stargazers

 avatar

Watchers

 avatar

standards-notes's Issues

Comments on the font-features explainer

Hey Daniel!

A few random comments about the explainer:

  • For Font Features, I'd just say they are "Client Hints" and not "User Agent Client Hints"
  • I don't think that font features should be used as critical client hints in most cases:
    • When the CSS is external, it's the CSS that you want to receive the hint, not the HTML
    • When the CSS is inlined, there's some room to consider declaring the hints as critical, but the cost of an initial RTT may outweigh the cost of sending a slightly less optimal font, so the criticallity of the fonts seems like something that should be pending on e.g. ACCEPT_CH frame support at the protocol level.
  • Why are prefers-color-scheme and prefers-reduced-motion likely to impact font resources? Also, prefers-color-scheme is shipped in Chromium as a CH
  • "The two major kinds of negative impacts involve the initial delay in rendering while waiting for required font files to be downloaded, and the subsequent redraws that might result when font changes require changes to page layout." - that sentence feels out of place, and also those are 2 problems that won't be fully addressed by your proposal (even if they can be improved)
  • "responsive images" seem unrelated to fonts
  • UA knowledge that's based on the UA's significant version is not going away, and there's no particular need to create hints for (e.g. stale-while-revalidate, unicode-range and preconnect support, that you mention)

Cheers :)
Yoav

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.