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

Re: [css-fonts] defining font faces with an empty or white space only family name

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 08 Jul 2014 08:44:56 +1000
Message-ID: <53BB22E8.3070701@mcc.id.au>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 08/07/14 08:31, Tab Atkins Jr. wrote:
> Whoops, I totally misread what you were asking, and then talked about
> it in a confusing way.  I didn't realize you were talking about actual
> CSS strings, specifically an empty string or a whitespace-only string.
> Both of those should be valid, per the current spec.

OK.  Should they be? :-)  At least for the empty string, given that 
implementations seem to agree that the @font-face isn't defined, can we 
make that an error that causes the rule to be ignored (just like the 
lack of a font-family or src descriptor)?  And therefore |new 
FontFace("''", ...)| as well.
Received on Monday, 7 July 2014 22:42:49 UTC

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