W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: wording of font fetching algorithm

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 14 Aug 2013 11:29:21 +0100
Message-ID: <CADnb78hkdcL1e_3F7G-7B72OZmVhwW+D2Epuzdg+osyqJyaxUg@mail.gmail.com>
To: www-style@w3.org
(If you want me to reply, it's best to copy me in the email. I'm not
subscribed to www-style.)

What I am saying, is that the following requirement:

"""
For font loads, user agents must use the potentially CORS-enabled
fetch method defined by the [HTML5] specification for URL's defined
within @font-face rules. When fetching, user agents must use
"Anonymous" mode, set the referrer source to the stylesheet's URL and
set the origin to the URL of the containing document.
"""

Is the only relevant requirement. That specifies what happens both for
same-origin and cross-origin. So saying that there's a same-origin
restriction does not make any sense. Saying that it's relaxed does not
make sense either. It's superfluous and wrong.

So the only paragraph in all of section 4.9 that should remain is that
paragraph. Even the example in 4.9.1 is wrong as it suggests no
loading happens whereas the paragraph in 4.9.2 requires it to happen
(and it will only fail if the relevant headers are missing in the
response).


-- 
http://annevankesteren.nl/
Received on Wednesday, 14 August 2013 10:29:48 UTC

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