[whatwg] Suggestion: Mouse Wheel events for Web Apps 1.0

Erik Arvidsson erik at eae.net
Tue Jun 21 09:25:48 PDT 2005


Mikko Rantalainen wrote:
> I assume that in the future, mouse wheels will not have huge discrete 
> steps anymore. So moving towards "px" is required. However, the "page" 
> setting will be preferred by some and it cannot be cleanly emulated with 
> a single "px" value so we need an unit in addition. Also, I selected 
> word "char" instead of "row" so that the same unit name is usable with 
> both X and Y axis. I'm not sure if "char" unit should be included, 
> though - it can be nicely emulated with "px".

It seems "em" describes row better? However, it might be a bit weird due 
to changes in font size depending on where you are in the document. (But 
I guess that is already an issue with scrolling Y rows.)

If a unit is added it should probably support the other CSS units as well...

erik



More information about the whatwg mailing list