File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -221,14 +221,14 @@ Conditional ''@import'' Rules</h3>
221221 (even if it is loaded through some other link).
222222
223223 <div class="example">
224- The following rule illustrates how an author can provide fallback rules for legacy user agents
225- without impacting network performance on newer user agents:
224+ The following rule illustrates how an author can provide rules
225+ for modern user agents that support newer web features
226+ without impacting network performance on older user agents.
227+ In this example, a CSS file which loads COLRv1 fonts
228+ is only fetched when COLRv1 is supported:
226229
227230 <pre class='lang-css'>
228- @import url("fallback-layout.css") supports(not (display: flex));
229- @supports (display: flex) {
230- ...
231- }
231+ @import url("COLRv1_fonts.css") supports(font-tech(color-COLRv1));
232232 </pre>
233233 </div>
234234
You can’t perform that action at this time.
0 commit comments