Skip to content

[css-fonts-3] Fix the mistake that the scheme is inconsistent, and improve comments #7337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions css-fonts-3/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -3043,7 +3043,7 @@ <h3 id=font-fetching-requirements><span class=secno>4.9. </span>Font
CORS-enabled fetch method, is defined or required.

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

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