1.1 --- a/css-fonts/Fonts.html Mon Aug 19 09:14:05 2013 +0900 1.2 +++ b/css-fonts/Fonts.html Mon Aug 19 14:28:52 2013 +0900 1.3 @@ -115,15 +115,15 @@ 1.4 1.5 <h1>CSS Fonts Module Level 3</h1> 1.6 1.7 - <h2 class="no-num no-toc" id=editors-draft-16-august-2013>Editor's Draft 1.8 - 16 August 2013</h2> 1.9 + <h2 class="no-num no-toc" id=editors-draft-19-august-2013>Editor's Draft 1.10 + 19 August 2013</h2> 1.11 1.12 <dl id=authors> 1.13 <dt>This version: 1.14 1.15 <dd><a 1.16 href="http://dev.w3.org/csswg/css-fonts/">http://dev.w3.org/csswg/css-fonts/</a> 1.17 - <!-- <dd><a href="http://www.w3.org/TR/2013/ED-css-fonts-3-20130816/">http://www.w3.org/TR/2013/ED-css-fonts-3-20130816/</a> --> 1.18 + <!-- <dd><a href="http://www.w3.org/TR/2013/ED-css-fonts-3-20130819/">http://www.w3.org/TR/2013/ED-css-fonts-3-20130819/</a> --> 1.19 1.20 1.21 <dt>Latest version: 1.22 @@ -3041,6 +3041,35 @@ 1.23 href="http://www.w3.org/TR/html5/infrastructure.html#cors-enabled-fetch">potentially 1.24 CORS-enabled fetch</a> method, is defined or required. 1.25 1.26 + <div class=example> For the examples given below, assume that a document is 1.27 + located at <code>http://example.com/page.html</code> and all URL's link to 1.28 + valid font resources supported by the user agent. Fonts defined with the 1.29 + ‘<a href="#descdef-src"><code class=property>src</code></a>’ 1.30 + descriptor values below will be loaded: 1.31 + <pre>/* same origin (i.e. domain, scheme, port match document) */ 1.32 +src: url(fonts/simple.woff); 1.33 +src: url(//fonts/simple.woff); 1.34 + 1.35 +/* data url's with no redirects are treated as same origin */ 1.36 +src: url("data:application/font-woff;base64,..."); 1.37 + 1.38 +/* cross origin, different domain */ 1.39 +/* Access-Control-Allow-Origin response header set to '*' */ 1.40 +src: url(http://another.example.com/fonts/simple.woff); 1.41 +</pre> 1.42 + Fonts defined with the ‘<a href="#descdef-src"><code 1.43 + class=property>src</code></a>’ descriptor values below will fail to 1.44 + load: 1.45 + <pre>/* cross origin, different scheme */ 1.46 +/* no Access-Control-xxx headers in response */ 1.47 +src: url(https://example.com/fonts/simple.woff); 1.48 + 1.49 +/* cross origin, different domain */ 1.50 +/* no Access-Control-xxx headers in response */ 1.51 +src: url(http://another.example.com/fonts/simple.woff); 1.52 +</pre> 1.53 + </div> 1.54 + 1.55 <h2 id=font-matching-algorithm><span class=secno>5 </span>Font Matching 1.56 Algorithm</h2> 1.57 1.58 @@ -5876,6 +5905,8 @@ 1.59 1.60 <li>switched examples to use .woff files 1.61 1.62 + <li>revised wording of font fetching algorithm 1.63 + 1.64 <li>minor editorial cleanups 1.65 </ul> 1.66