This is rather major regression
Created attachment 609910 [details] [diff] [review]
Are there any actual use cases for float? (assuming that WheelEventInit will be changed)
Probably not, but there is also no reason to not-support it.
You should probably add an explicit cast when casting from 'double' to 'float' to avoid compile-time warnings about loss of precision.