File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -2888,6 +2888,25 @@ for example, forcing all fonts to have a ''0s'' <a>block period</a>.
28882888 but ''optional'' ensures they can actually <em> use</em> the site,
28892889 rather than quitting and going elsewhere because the site takes too long to load.
28902890 </div>
2891+
2892+ <div class=note>
2893+ To increase the chance that an ''optional'' font will be available
2894+ in time to use for rendering some text,
2895+ it is recommended that the user agent employ heuristics
2896+ to make it faster to access
2897+ or to judge when it would be worthwhile to delay rendering some text,
2898+ such as checking if the font is preloaded in HTML,
2899+ or moving the file from slower to faster in-memory caches
2900+ as soon as it is seen in a stylesheet
2901+ (before it's known whether it will be used on the page).
2902+
2903+ These heuristics cannot be relied upon by authors, however;
2904+ it must be understood that the ''optional'' value
2905+ can result in the font never being used.
2906+ If a somewhat higher assurance of the font being used is needed,
2907+ authors should consider using the ''fallback'' value.
2908+ </div>
2909+
28912910</dl>
28922911
28932912
You can’t perform that action at this time.
0 commit comments