Should host objects be able to have [[Class]] "Function", "Array" etc.?

Maciej Stachowiak mjs at
Mon Nov 17 19:41:34 PST 2008

On Nov 17, 2008, at 7:32 PM, Garrett Smith wrote:

> On Mon, Nov 17, 2008 at 12:17 PM, Blake Kaplan <mrbkap at>  
> wrote:
>> I don't think anybody is suggesting that these properties become  
>> part of the
>> standard. It seems to me that a conforming implementation should be  
>> able to
>> implement such compatibility hacks though, which is why they were  
>> brought
>> up.
> Internet Explorer 4 had css filters that predates the SVG filter
> (AFAIK). SVG filter creates a compatibility problem. Maciej says that
> they worked around this by having style.filter return undefined, but
> have that undefined be a special value that is == to "".

No, that's not it. It returns special string value that converts to  
boolean as false and compares equal to undefined despite being a  
string and possibly non-empty.

> I think it
> would be a good idea to raise the issue with the SVG WG. If the SVG WG
> wants to act in good faith, they should consider creating an
> alternative property name for browsers, style.svgFilter, for example.

The issue has been raised with them.


More information about the Es-discuss mailing list