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

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

From: Glenn Adams <glenn@skynav.com>
Date: Wed, 19 Sep 2012 10:45:37 +0800
Message-ID: <CACQ=j+fyt1i_sDYUeQv487_2e8KUH1NYkkdwV1FzPU5UpN-Ttg@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style@w3.org
On Wed, Sep 19, 2012 at 10:03 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> 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.


agreed
Received on Wednesday, 19 September 2012 02:46:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:00 GMT