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

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