- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 6 Apr 2012 22:29:24 +0000 (UTC)
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- cc: public-script-coord@w3.org
On Fri, 6 Apr 2012, Boris Zbarsky wrote: > On 4/6/12 6:16 PM, Marcos Caceres wrote: > > > I don't understand the question. What's the context here? > > > > Sorry about lack of context, we are trying to make sure that every > > type in the WebIDL is being used by at least one Web Platform spec. We > > were wondering if any spec is using the type "unrestricted double" > > (and in particular, if Canvas depends on it)? > > More precisely, the 'float' and 'double' types in WebIDL have been > redefined to throw on non-finite floats. There are now 'unrestricted > float' and 'unrestricted double' types for cases where non-finite floats > should be passed through to the underlying method. Huh. First I heard of it. > Which means that every single case where canvas is supposed to do > "nothing" on non-finite floats or doubles need to be using the > unrestricted versions. Clearly 'unrestricted float' is needed. The > question is whether 'unrestricted double' is needed. Everything in the HTML spec that uses floating point uses double, not float. I guess that means I should be going through everything and changing most of it to refer to "unrestricted double" instead of just "double". -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 6 April 2012 22:29:48 UTC