Skip to content

Commit 819fdbd

Browse files
sxyazisvgeesus
authored andcommitted
[css-fonts-3] Fix the mistake that the scheme is inconsistent, and improve comments
1 parent b4f77f5 commit 819fdbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-fonts-3/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,7 +3043,7 @@ <h3 id=font-fetching-requirements><span class=secno>4.9. </span>Font
30433043
CORS-enabled fetch method, is defined or required.
30443044

30453045
<div class=example> For the examples given below, assume that a document is
3046-
located at <code>https://example.com/page.html</code> and all URL's link
3046+
located at <code>http://example.com/page.html</code> and all URL's link
30473047
to valid font resources supported by the user agent. Fonts defined with
30483048
the ‘<a href="#descdef-src"><code class=property>src</code></a>
30493049
descriptor values below will be loaded:
@@ -3061,11 +3061,11 @@ <h3 id=font-fetching-requirements><span class=secno>4.9. </span>Font
30613061
class=property>src</code></a>’ descriptor values below will fail to
30623062
load:
30633063
<pre>/* cross origin, different scheme */
3064-
/* no Access-Control-xxx headers in response */
3064+
/* no Access-Control prefixed headers are set correctly */
30653065
src: url(https://example.com/fonts/simple.woff);
30663066

30673067
/* cross origin, different domain */
3068-
/* no Access-Control-xxx headers in response */
3068+
/* no Access-Control prefixed headers are set correctly */
30693069
src: url(http://another.example.com/fonts/simple.woff);
30703070
</pre>
30713071
</div>

0 commit comments

Comments
 (0)