diff --git a/css-fonts-4/Overview.bs b/css-fonts-4/Overview.bs index a8ddb119059c..138560f04fa6 100644 --- a/css-fonts-4/Overview.bs +++ b/css-fonts-4/Overview.bs @@ -582,7 +582,7 @@ Relative Weights The computed weight is calculated based on the inherited 'font-weight!!property' value using the chart below. - +
Inherited value (w) @@ -3272,15 +3272,15 @@ if all font style properties were set to their initial value. are checked in this stage. 5. If no match is found, oblique values less than or equal to 0deg are checked in descending order until a match is found. 6. If no match is found, italic values less than or equal to 0 are checked in descending order until a match is found. + -
- Similar to the previous example, here is the conceptual distance graph for an element styled with "font-style: oblique 13deg": +
+ Similar to the previous example, here is the conceptual distance graph for an element styled with "font-style: oblique 13deg": - distance graph + distance graph - 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. -
- + 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. +
If the value of 'font-style!!property' is ''oblique'' and the requested angle is less than 0deg and greater than -20deg, follow the steps above, 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 above, except with the negated values and opposite directions. @@ -3373,14 +3373,14 @@ if all font style properties were set to their initial value. computations, e.g., by ''em'' values in other properties, are based on the 'font-size' value that is used, not the one that is specified. - - Note that more than one font might be remaining in the matching set after performing - the above steps. If so, the user agent must choose a single font from - the matching set and continue these steps with it. The choice of which - font to choose can differ between multiple user agents and multiple operating - system platforms; however, it must not differ between two elements in the same document. + Note that more than one font might be remaining in the matching set after performing + the above steps. If so, the user agent must choose a single font from + the matching set and continue these steps with it. The choice of which + font to choose can differ between multiple user agents and multiple operating + system platforms; however, it must not differ between two elements in the same document. + 5. If the matched face is defined via ''@font-face'' rules, user agents must use the procedure below to select a single font: @@ -6584,12 +6584,12 @@ None.

How does this specification distinguish between behavior in first-party and third-party contexts?

-For font loads, user agents must use the +For font loads, user agents must use the potentially CORS-enabled fetch method defined by the [[!HTML]] specification for URL’s defined within @font-face rules. When fetching, user agents must use "Anonymous" mode, set the referrer source to the stylesheet’s URL -and set the origin to the URL of the containing document. +and set the origin to the URL of the containing document. Thus, fonts will typically not be loaded cross-origin unless authors specifically takes steps to permit cross-origin loads.