[Events] UIScrollRequestEvent (scrollrequest can now use either X/Y deltas or type constants like PAGE_DOWN)

UIScrollRequestEvent (scrollrequest can now use either X/Y deltas or type constants like PAGE_DOWN), which was to solve ACTION-59: scrollrequest needs ability to match pageup/pagedown/home/end behavior; currently relies on deltaX/deltaY which will not work in all cases

The changeset is a little too big to paste here, but in summary, scrollrequest was previously a type of UIManipulationRequestEvent with x/y deltas, meaning user agents would have to translate semantic events like "page up" into CSS pixel values which would likely be problematic difficult to standardize in a useful way. The change removes the original scrollrequest and defines a new UIScrollRequestEvent interface that can take either a constant scrollType value (PAGE_DOWN, etc) or values for deltaX and deltaY. 

UIScrollRequestEvent
https://dvcs.w3.org/hg/IndieUI/raw-file/default/src/indie-ui-events.html#UIScrollRequestEvent

Changeset
https://dvcs.w3.org/hg/IndieUI/rev/e0ebd8d79dcd

Received on Thursday, 11 July 2013 05:33:59 UTC