You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -3272,15 +3272,15 @@ if all font style properties were set to their initial value.
3272
3272
are checked in this stage.
3273
3273
5. If no match is found, oblique values less than or equal to 0deg are checked in descending order until a match is found.
3274
3274
6. If no match is found, italic values less than or equal to 0 are checked in descending order until a match is found.
3275
+
</ol>
3275
3276
3276
-
<divclass="example">
3277
-
Similar to the <ahref="#ascendingstretch">previous example</a>, here is the conceptual distance graph for an element styled with "font-style: oblique 13deg":
3277
+
<divclass="example">
3278
+
Similar to the <ahref="#ascendingstretch">previous example</a>, here is the conceptual distance graph for an element styled with "font-style: oblique 13deg":
As you can see, because font D contains the minimum oblique value across the entire family, font D would be selected by this algorithm. However, if font D were somehow eliminated from the family, font C would then contain the lowest distance in the family, so it would be selected. If C were eliminated, E would be selected. If E were eliminated, font B would not be chosen immediately; instead, italic values would be consulted and an italic value might be chosen. However, if no italic value is chosen, font B would then be selected, followed by font A.
3282
-
</div>
3283
-
</ol>
3282
+
As you can see, because font D contains the minimum oblique value across the entire family, font D would be selected by this algorithm. However, if font D were somehow eliminated from the family, font C would then contain the lowest distance in the family, so it would be selected. If C were eliminated, E would be selected. If E were eliminated, font B would not be chosen immediately; instead, italic values would be consulted and an italic value might be chosen. However, if no italic value is chosen, font B would then be selected, followed by font A.
3283
+
</div>
3284
3284
3285
3285
If the value of 'font-style!!property' is ''oblique'' and the requested angle is less than 0deg and greater than -20deg, follow the steps <ahref="#lesser-oblique-steps">above</a>, except with the negated values and opposite directions. If the value of 'font-style!!property' is ''oblique'' and the requested angle is less than or equal to -20deg, follow the steps <ahref="#greater-oblique-steps">above</a>, except with the negated values and opposite directions.
3286
3286
@@ -3373,14 +3373,14 @@ if all font style properties were set to their initial value.
3373
3373
computations, e.g., by ''em'' values in other properties, are based on
3374
3374
the 'font-size' value that
3375
3375
is used, not the one that is specified.
3376
-
3377
-
Note that more than one font might be remaining in the matching set after performing
3378
-
the above steps. If so, the user agent must choose a single font from
3379
-
the matching set and continue these steps with it. The choice of which
3380
-
font to choose can differ between multiple user agents and multiple operating
3381
-
system platforms; however, it must not differ between two elements in the same document.
3382
3376
</ol>
3383
3377
3378
+
Note that more than one font might be remaining in the matching set after performing
3379
+
the above steps. If so, the user agent must choose a single font from
3380
+
the matching set and continue these steps with it. The choice of which
3381
+
font to choose can differ between multiple user agents and multiple operating
3382
+
system platforms; however, it must not differ between two elements in the same document.
3383
+
3384
3384
5. If the matched face is defined via ''@font-face''
3385
3385
rules, user agents must use the procedure below to select a single
3386
3386
font:
@@ -6584,12 +6584,12 @@ None.
6584
6584
6585
6585
<h3id="sp213">How does this specification distinguish between behavior in first-party and third-party contexts?</h3>
6586
6586
6587
-
<ahref="#font-fetching-requirements">For font loads, user agents must use the
6587
+
<ahref="#font-fetching-requirements">For font loads</a>, user agents must use the
6588
6588
potentially CORS-enabled fetch method defined by the [[!HTML]] specification
6589
6589
for URL’s defined within @font-face rules.
6590
6590
When fetching, user agents must use "Anonymous" mode,
6591
6591
set the referrer source to the stylesheet’s URL
6592
-
and set the origin to the URL of the containing document</a>.
6592
+
and set the origin to the URL of the containing document.
6593
6593
6594
6594
Thus, fonts will typically not be loaded cross-origin
6595
6595
unless authors specifically takes steps to permit cross-origin loads.
0 commit comments