W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] double IDL attributes when reflecting content attributes?

From: Mounir Lamouri <mounir.lamouri@gmail.com>
Date: Sun, 30 Jan 2011 22:56:07 +0100
Message-ID: <4D45DE77.3070001@gmail.com>

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

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:30 UTC