W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2008

Made non-finite floats throw NOT_SUPPORTED_ERR

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 4 Jul 2008 12:40:05 +1000
To: public-svg-wg@w3.org
Message-ID: <20080704024005.GB6027@arc.mcc.id.au>

I’ve changed the spec now to require throwing NOT_SUPPORTED_ERR for
non-finite floats, and also required -0.0 to be treated the same as
+0.0, for ACTION-2082.


(Sorry for the member-only link.  Do we have a process yet for working
with the spec in the public CVS repository?)

I noticed though that the spec at the moment doesn’t say anything about
throwing TYPE_MISMATCH_ERR for setFloatTrait() when given a non-finite
float.  Andrew, were you saying that setFloatTrait() also must throw
this exception here, or was it just for getFloatTrait() and



Cameron McCormack ≝ http://mcc.id.au/
Received on Friday, 4 July 2008 02:40:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:09 UTC