benschwarz / developers.whatwg.org

Used to create the contents of developers.whatwg.org
http://developers.whatwg.org/
198 stars 39 forks source link

Allow hotlinking of fonts with CORS #19

Closed zcorpan closed 13 years ago

zcorpan commented 13 years ago

http://simon.html5.org/html5-elements hotlinks some fonts on deveopers.whatwg.org. Firefox doesn't allow the hotlinking without CORS. You could add some CORS to the fonts to make it prettier in Firefox.

You need to check the spec what needs adding, or check the headers on validator.nu which uses CORS.

paulirish commented 13 years ago

Here's the apache snippet for this one:

https://github.com/paulirish/html5-boilerplate/blob/master/.htaccess#L57-69

benschwarz commented 13 years ago

Add cross domain policy to .htaccess. Thanks Paul Irish! Closed by ddf1427d14d0d04b265704583db690dee056eab0