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

Re: [css3-fonts][cssom] Load events for webfonts?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 24 Jul 2012 15:08:03 -0400
Message-ID: <500EF293.7020809@mit.edu>
To: www-style@w3.org, Cameron McCormack <cam@mcc.id.au>
On 7/24/12 2:51 PM, Tab Atkins Jr. wrote:
> For each attribute, if the corresponding descriptor is present in the
> associated @font-face rule, the attribute's value is the cssText of that
> descriptor.  Otherwise, the attribute's value is the value undefined.

The value, or the string?

If you actually want the _value_ (as in, pretend like the getter didn't 
return anything), the IDL can't say DOMString...

It might be interesting to have a way to say in WebIDL "this thing or 
undefined" just like it can say "this string or null".

Received on Tuesday, 24 July 2012 19:08:36 UTC

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