You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
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.)
The text was updated successfully, but these errors were encountered: