W3C home > Mailing lists > Public > www-style@w3.org > June 2014

Re: [css-font-loading] base URL used for relative URLs passed to FontFace constructor

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 25 Jun 2014 17:55:57 -0700
Message-ID: <CAAWBYDB4stXLgN1ZrNogS0yhGL2ET_yVHuccs1GbP+q0s+rQew@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: "www-style@w3.org" <www-style@w3.org>
On Sun, Jun 22, 2014 at 10:18 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> If I write:
>   new FontFace("something", "url(/some/font)");
> does the URL get resolved against the URL of the document?  Does this need
> to be written in the spec?

Yes it does need to be written in, but it's unclear exactly what to do
when one is, say, constructed from a worker.

I'll at least file an issue for now.

Received on Thursday, 26 June 2014 00:56:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:43 UTC