Performance: Fallback values
MEDIUM IMPACT
Fallback values affect how quickly the browser can render styles when a preferred value is unsupported or slow to load.
font-family: 'CustomFont', Arial, sans-serif;
font-family: 'CustomFont';
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Single font without fallback | Minimal | 1 reflow after font loads | High paint cost due to delayed text rendering | [X] Bad |
| Font with fallback values | Minimal | Single reflow on initial paint | Lower paint cost, text visible immediately | [OK] Good |