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

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.

-Boris

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