[whatwg] double IDL attributes when reflecting content attributes?

Hi,

A few months ago all float attributes changed to double attributes [1].
I'm wondering why float IDL attributes reflecting content attributes
moved to double attributes given that the content attributes are still
following the rules for parsing floating point numbers [2]. So, AFAIUI,
these double IDL attributes will be limited to single precision floating
point values so why using the double type instead of the float type?

[1] http://html5.org/tools/web-apps-tracker?from=5372&to=5373
[2]
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#rules-for-parsing-floating-point-number-values

Thanks,
--
Mounir

Received on Sunday, 30 January 2011 13:56:07 UTC