As with @import url(...)
, a remote domain can be provided in the url
specified when importing a font with @font-face: { src: url(...) }
.
For example:
/*声明 WebFont*/
@font-face {
font-family: 'source';
src: url('https://some/remote/domain/font/source.eot');
...
}
Specifying a remote domain results in a browser error by default. What is the reason for this restriction?