W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2016

[csswg-drafts] [css-fonts-4] definition for src descriptor and local(), data()

From: Peter Constable via GitHub <sysbot+gh@w3.org>
Date: Thu, 03 Nov 2016 18:14:12 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-187148961-1478196850-sysbot+gh@w3.org>
PeterCon has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-fonts-4] definition for src descriptor and local(), data() ==
The syntax for the @ font-face src descriptor value is given as

[ <url> [ format( <string> # )]? | <font-face-name> ] #

Later in the css-fonts-4 draft, in "Terms defined by reference", it 
states that <url> is defined in css-values-3. This is a useful 
addition since fonts level 3 gave no specification for this.

However, css-fonts-3 and the css-fonts-4 draft also discuss use of a 
src value with "local(...)". And in practice, cases of "data(..)" have
 been used. The css-values-3 doesn't mention either of these. Thus, 
formally per these specs, it's not clear how "local(...)" or 
"data(...)" are syntactically valid, even though it appears that the 
intent is to allow them.

Thus, the src descriptor syntax should be revised to include 
<url>|<local>|<data>, with the latter two defined, or else some 
external reference should provide these.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/677 using your GitHub 
account
Received on Thursday, 3 November 2016 18:14:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:05 UTC