RESOLVED INVALID 64843
V8 binding: unable to use [Reflect] on some attributes
https://bugs.webkit.org/show_bug.cgi?id=64843
Summary V8 binding: unable to use [Reflect] on some attributes
Leo Yang
Reported 2011-07-19 18:50:34 PDT
For V8 binding, some svg attribute like glyphRef can not be applied [Reflect] in idl file. Seems the generator converts the attribute to lower case. As a result, it will generate undefined identifier, like SVGNames::glyphrefAttr instead of SVGNames::glyphRefAttr.
Attachments
Vineet Chaudhary (vineetc)
Comment 1 2012-07-31 04:05:57 PDT
(In reply to comment #0) > For V8 binding, some svg attribute like glyphRef can not be applied [Reflect] in idl file. Seems the generator converts the attribute to lower case. As a result, it will generate undefined identifier, like SVGNames::glyphrefAttr instead of SVGNames::glyphRefAttr. Is this bug still valid? Do you have any example where we can use [Reflect] on attributes and generating wrong code. For the case mentioned glyhRef part of SVGAltGlyphElement and per spec http://www.w3.org/TR/SVG/text.html#InterfaceSVGAltGlyphElement its shouldn't be [Reflect] or you have some specific reason to have it?
Chris Dumez
Comment 2 2013-07-02 07:01:08 PDT
The latest specification does not say anything about [Reflect]: https://svgwg.org/svg2-draft/text.html#InterfaceSVGGlyphRefElement Closing this bug report. Feel free to reopen and comment if you feel this is wrong.
Chris Dumez
Comment 3 2013-07-02 07:01:50 PDT
Also a V8 Bug.
Note You need to log in before you can comment on or make changes to this bug.