- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 18 Sep 2012 22:03:38 -0400
- 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.
-Boris
Received on Wednesday, 19 September 2012 02:04:06 UTC