[Webkit-unassigned] [Bug 20434] SVGTransformable and SVGLocatable are not exported to the DOM (instanceof)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 3 19:28:43 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20434


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|SVGTransformable and        |SVGTransformable and
                   |SVGLocatable are not        |SVGLocatable are not
                   |exported to the DOM         |exported to the DOM
                   |                            |(instanceof)




------- Comment #4 from eric at webkit.org  2008-10-03 19:28 PDT -------
I think this is a bug in Gecko.  That's not how "instanceof" is supposed to
work according to ECMAScript 262:
http://bclary.com/2004/11/07/#a-11.8.6

ECMAScript seems to specify that instanceof is just supposed to walk the
prototype chain (which would suggest that one might be able to manipulate said
chain and change what instanceof returned.

http://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Operators/Special_Operators/instanceof_Operator

I think we need to file a bug against Gecko and discuss this with the SVG
folks.  I agree that to the web developer it might be nice to be able to ask
svgElement instanceof SVGTransformable...


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list