css-font-rendering
css-font-rendering copied to clipboard
A proposal for CSS to let web developers control the behavior of font rendering
I know old browsers will just ignore something like: `font-display: swap;` in the CSS, but there are cases where feature detection is useful. For example I want to test the...
The CSS font-rendering proposal is an attempt to explain the bit of magic that goes on around web font rendering in browsers: > | Browser | timeout | fallback |...
A key challenge in this spec space is that its poking up against an unspecified, undocumented, generally unkwown-by-anyone problem in the web: when does a browser actually decide to render...
``` css .whatever { font-rendering: mandatory 60s; } .whatever .foo { font-family: foo; } .whatever .bar { font-family: bar; } .whatever .blah { font-family: sans-serif; } ``` Assuming: - `foo`...
From http://lists.w3.org/Archives/Public/www-style/2014Oct/0524.html "In other words, when a "swap" or "optional" font doesn't come in before the timeout, it gets an "inactive" bool set on it, which makes the current page...
We filmed a little show this morning where I spoke about this proposal. I had a hard time working out how I was going to explain what the number part...
…or an invalid response before the timeout? I assume it just falls back?