- From: Martin J. Dürst <duerst@it.aoyama.ac.jp>
- Date: Mon, 16 Sep 2013 16:05:01 +0900
- To: John Daggett <jdaggett@mozilla.com>
- CC: Richard Ishida <ishida@w3.org>, W3C Style <www-style@w3.org>, www International <www-international@w3.org>
On 2013/09/13 11:13, John Daggett wrote: > > > Richard Ishida wrote: > >> 4.9.1. Default same-origin restriction >> http://www.w3.org/TR/2013/WD-css-fonts-3-20130711/#default-same-origin-restriction >> >> "src: url(//fonts/simple.ttf);" >> >> Is the // intentional? > > Yeah, that's incorrect, as John notes that should have a TLD in there. > > Best just to trim this. I'm not sure exactly what you mean by trim. One solution is to make this "src: url(/fonts/simple.ttf);" That's the 'simple.ttp' file in the /fonts directory on the same server as the stylesheet itself. Another solution is to make it "src: url(//fonts.example.org/simple.ttf);" which would be an independent fonts.example.org site providing the font. Another solution is "src: url(fonts/simple.ttf);" where fonts/ would be a subdirectory of the place where the stylesheet is. Regards, Martin. > Cheers, > > John Daggett > >
Received on Monday, 16 September 2013 07:05:44 UTC