Skip to content
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

Correctly handle font face sources #8

Open
I3undy opened this issue Dec 1, 2015 · 0 comments
Open

Correctly handle font face sources #8

I3undy opened this issue Dec 1, 2015 · 0 comments

Comments

@I3undy
Copy link
Member

I3undy commented Dec 1, 2015

@Piedone created on Sep 5, 2014:
https://combinator.codeplex.com/workitem/68

Font-face declarations can't be in combined resources if a remote resource storage or different resource base URL domain is used since their srcs should point to URLs under the website's domain.

This means that any CSS with a font-face declaration that has an src pointing to an URL needs either to point back to the site (but this defeats resource sharing) or allow-origin should be configured, see: http://stackoverflow.com/questions/11616306/css-font-face-absolute-url-from-external-domain-fonts-not-loading-in-firefox

To go with the first one and point srcs to the site domain we'd need to detect if we're dealing with the src declaration of a font-face block. This needs ExCSS: #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant