Skip to content

[css-font-loading] What base url do we use for FontFace()? #2343

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

Open
tabatkins opened this issue Feb 22, 2018 · 0 comments
Open

[css-font-loading] What base url do we use for FontFace()? #2343

tabatkins opened this issue Feb 22, 2018 · 0 comments

Comments

@tabatkins
Copy link
Member

tabatkins commented Feb 22, 2018

The FontFace constructor can take a URL string (technically, something that matches the grammar of @font-face/src), and will load the font from that URL. In CSS, relative URLs are resolved against the stylesheet's own URL; in this case, tho, there's no stylesheet to resolve against. What base url should we use?

(Presumably implementations have already made some decision; if someone knows what that is, great, otherwise I'll test for this later.)

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

No branches or pull requests

1 participant