Skip to content

Commit 3006976

Browse files
committed
[css-fonts-3] link fixes
1 parent 67b412d commit 3006976

1 file changed

Lines changed: 14 additions & 17 deletions

File tree

css-fonts-3/Fonts.src.html

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ <h2 class="no-num no-toc" id=abstract>Abstract</h2>
154154
specification are a consolidation of content previously divided into
155155
<a href="https://www.w3.org/TR/2002/WD-css3-fonts-20020802/">CSS3 Fonts</a> and
156156
<a href="https://www.w3.org/TR/2002/WD-css3-webfonts-20020802/">CSS3 Web Fonts</a> modules.
157-
The description of font load events was moved into the
158-
<a href="https://drafts.csswg.org/css-font-load-events/">CSS3 Font Load Events</a> module.
159-
</p>
157+
The description of font load events was moved into
158+
the <a href="https://drafts.csswg.org/css-font-loading-3/">CSS Font
159+
Loading</a> module.</p>
160160

161161
<h2 class="no-num no-toc" id=status>Status of this document</h2>
162162

@@ -1678,12 +1678,12 @@ <h3 id="src-desc">Font reference: the <a href="#descdef-src">src</a> descriptor<
16781678
</tr>
16791679
<tr>
16801680
<th><code>"truetype"</code></th>
1681-
<td><a href="https://www.microsoft.com/typography/otspec/default.htm">TrueType</a></td>
1681+
<td><a href="https://docs.microsoft.com/en-us/typography/opentype/spec/">TrueType</a></td>
16821682
<td>.ttf</td>
16831683
</tr>
16841684
<tr>
16851685
<th><code>"opentype"</code></th>
1686-
<td><a href="https://www.microsoft.com/typography/otspec/default.htm">OpenType</a></td>
1686+
<td><a href="https://docs.microsoft.com/en-us/typography/opentype/spec/">OpenType</a></td>
16871687
<td>.ttf, .otf</td>
16881688
</tr>
16891689
<tr>
@@ -1750,7 +1750,7 @@ <h3 id="src-desc">Font reference: the <a href="#descdef-src">src</a> descriptor<
17501750
within a family, the unique name used with <code>local()</code> specifies a single
17511751
font, not an entire font family. Defined in terms of
17521752
OpenType font data, the Postscript name is found in the font's
1753-
<a href="https://www.microsoft.com/typography/otspec/name.htm">name table</a>,
1753+
<a href="https://docs.microsoft.com/en-us/typography/opentype/spec/name">name table</a>,
17541754
in the name record with <code>nameID = 6</code> (see
17551755
[[!OPENTYPE]] for more details). The Postscript name is the commonly
17561756
used key for all fonts on OSX and for Postscript CFF fonts under
@@ -2300,7 +2300,7 @@ <h3 id="font-fetching-requirements">Font fetching requirements</h3>
23002300
-->
23012301

23022302
<p>For font loads, user agents must use the
2303-
<a href="https://www.w3.org/TR/html5/infrastructure.html#cors-enabled-fetch">potentially CORS-enabled fetch</a>
2303+
<a href="https://www.w3.org/TR/html5/infrastructure.html#cors-settings-attributes">potentially CORS-enabled fetch</a>
23042304
method defined by the [[!HTML5]] specification for URL's defined
23052305
within @font-face rules. When fetching, user agents must use
23062306
"Anonymous" mode, set the referrer source to the stylesheet's URL and
@@ -2312,7 +2312,7 @@ <h3 id="font-fetching-requirements">Font fetching requirements</h3>
23122312
cross-site loading of font data using the <code>Access-Control-Allow-Origin</code>
23132313
HTTP header. For other schemes, no explicit mechanism to allow
23142314
cross-origin loading, beyond what is permitted by the
2315-
<a href="https://www.w3.org/TR/html5/infrastructure.html#cors-enabled-fetch">potentially CORS-enabled fetch</a>
2315+
<a href="https://www.w3.org/TR/html5/infrastructure.html#cors-settings-attributes">potentially CORS-enabled fetch</a>
23162316
method, is defined or required.</p>
23172317

23182318
<div class="example">
@@ -3091,7 +3091,7 @@ <h3 id="font-variant-position-prop">Subscript and superscript forms: the <a href
30913091

30923092
<p class="note">The OpenType font format defines subscript and
30933093
superscript metrics in the
3094-
<a href="https://www.microsoft.com/typography/otspec/os2.htm#subxs">OS/2 table</a>
3094+
<a href="https://docs.microsoft.com/en-us/typography/opentype/spec/os2">OS/2 table</a>
30953095
[[!OPENTYPE]] but these are not always accurate in practice and so
30963096
cannot be relied upon when synthesizing subscript and superscript
30973097
glyphs.</p>
@@ -3602,9 +3602,6 @@ <h3 id="font-feature-values">Defining font specific alternates: the <dfn id="at-
36023602
<code>@font-feature-values</code> rule is used to define named values for these indices
36033603
for a given family.
36043604

3605-
<p class="note">See the <a href="#om-fontfeaturevalues">object model reference section</a> for a
3606-
description of the interfaces used to modify these rules via the CSS
3607-
Object Model.</p>
36083605

36093606
<div class="example">
36103607
<p>In the case of the swash Q in the example shown above, the swash could
@@ -3723,7 +3720,7 @@ <h4>Basic syntax</h4>
37233720
@swash { double-loops: 1; flowing: -1; } /* negative value */
37243721
@ornaments ; /* incomplete definition */
37253722
@styleset { double-W: 14; sharp-terminals: 16 1 } /* missing ; */
3726-
<a style="text-decoration: none; border: none;" href="https://www.angryalien.com/0504/shiningbunnies.html">redrum</a> /* random editing mistake */
3723+
redrum /* random editing mistake */
37273724
}</pre>
37283725

37293726
<p>The example above is equivalent to:</p>
@@ -4208,7 +4205,7 @@ <h3 id="font-feature-settings-prop">Low-level font feature settings control: the
42084205
<pre lang="ja">
42094206
body { font-feature-settings: "hwid"; /* Half-width OpenType feature */ }
42104207

4211-
&lt;p>毎日<a href="https://images.google.com/images?q=%E3%82%AB%E3%83%AC%E3%83%BC" style="text-decoration: none;">カレー</a>食べてるのに、飽きない&lt;/p>
4208+
&lt;p>毎日<a href="https://example.com/?q=%E3%82%AB%E3%83%AC%E3%83%BC" style="text-decoration: none;">カレー</a>食べてるのに、飽きない&lt;/p>
42124209
</pre>
42134210
</div>
42144211

@@ -4239,9 +4236,9 @@ <h3 id="default-features">Default features</h3>
42394236
Individual features are only disabled when explicitly overridden by the author, as when
42404237
'font-variant-ligatures' is set to 'no-common-ligatures'.
42414238
For handling complex scripts such as
4242-
<a href="https://www.microsoft.com/typography/otfntdev/arabicot/features.aspx">Arabic</a>,
4243-
<a href="https://www.microsoft.com/typography/otfntdev/mongolot/features.htm">Mongolian</a> or
4244-
<a href="https://www.microsoft.com/typography/otfntdev/devanot/features.aspx">Devanagari</a>
4239+
<a href="https://docs.microsoft.com/en-us/typography/script-development/arabic">Arabic</a>,
4240+
<a href="https://docs.microsoft.com/en-us/typography/script-development/khmer">Khmer</a> or
4241+
<a href="https://docs.microsoft.com/en-us/typography/script-development/devanagari">Devanagari</a>
42454242
additional features are required. For upright text within vertical text runs, vertical
42464243
alternates (OpenType feature: <span class="tag">vert</span>) must be enabled.</p>
42474244

0 commit comments

Comments
 (0)