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

Re: [css3-fonts][cssom] proposal for revised definition of CSSFontFaceRule

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 18 Sep 2012 22:03:38 -0400
Message-ID: <505927FA.6060902@mit.edu>
To: www-style@w3.org
On 9/18/12 8:40 PM, Glenn Adams wrote:
> Not as I had originally intended it. I had originally intended
> getDescriptor() to mirror getPropertyValue() behavior, which operates on
> CSS Property Names, like 'font-family', and not their ES Property Name
> counterpart, like 'fontFamily'. That is, I had intended the use of
> getDescriptor('unicode-range') and get('unicodeRange'), and neither
> getDescriptor('unicodeRange') nor get('unicode-range').

Ah, I see.  But then get() is pretty much equivalent to [] (modulo name 
collisions up the proto chain), and there's no real need to give it a 
name.  Just using an anonymous getter in the IDL should be fine.

Received on Wednesday, 19 September 2012 02:04:06 UTC

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