- From: Erik Dahlström <ed@opera.com>
- Date: Wed, 28 May 2008 12:29:30 +0200
- To: "public-svg-wg@w3.org" <public-svg-wg@w3.org>
Hello svg-wg, While going over some of the 1.2T tests I found some things that slipped by the F2F review. udom-svg-234-t.svg: Error: expects "red" instead of any canonical form of red, such as rgb(255,0,0), rgb(100%,0%,0%), #f00, #ff0000. What about automatic type conversion? See e.g. "Conversion to Strings"[1]. All ecmascript objects can (and will) provide a string representation, so if you pass any type of object as the value into setTrait(NS) it will always be converted to string format, so at most you'd get an INVALID_ACCESS_ERR exception if the string couldn't be parsed. I'd like to revoke the approval of this test and have a further discussion on this. udom-svg-235-t.svg: What about automatic type conversion? See e.g. "Conversion to Numbers"[1]. IMHO null and "" should not throw exceptions, since you then lose the benefit of being able to specify setFloatTrait("x", "3") for example. I'd like to revoke the approval of this test and have a further discussion on this. The above points also affect udom-svg-230-t.svg (which is still under review). /Erik [1] http://web.deu.edu.tr/doc/oreily/web/jscript/ch09_01.html -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal blog: http://my.opera.com/macdev_ed
Received on Wednesday, 28 May 2008 10:28:09 UTC