Monday, October 1, 2012

W3C Accepts Microsoft?s Multiple Pointer Types Submission

Today the W3C has accepted and published Microsoft?s submission of a new? way for Web sites and app developers to support multiple pointing devices, such as mouse, pen and multi-touch.

Microsoft: Today, most web content is used with and/or designed for mouse input. Those that handle input in a custom manner typically code to DOM Level 3 Mouse Events. Newer computing devices today, however, incorporate other forms of input, like touchscreens or pen input. Event types have been proposed for handling each of these forms of input individually. However, that approach requires a step function in opportunity cost to authors when adding support for a new input type. This often creates a compatibility problem when content is written with only one device type in mind. Additionally, for compatibility with existing mouse-based content, most user agents fire Mouse Events for all input types. This makes it ambiguous whether a Mouse Event represents an actual mouse device or is being produced from another input type for compatibility, which makes it hard to code to both device types simultaneously.

W3C: The proposed event model described in this specification defines mechanisms for managing multiple concurrent pointer instances simultaneously from one or more input devices, for detecting which pointer event is the primary input, for identifying which device type produced each pointer, for allowing chorded button inputs to detect all of the buttons which are active during the dispatch of the event, and for allowing pointer events to be targeted at specific elements. This event model includes consideration for devices that do and do not allow for ?hover? interaction, a major concern for accessibility.

?

?

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Source: http://feeds.dzone.com/~r/zones/css/~3/AUF2OGG2jAU/w3c-accepts-microsoft%E2%80%99s

bolton muamba crystal cathedral sxsw st. patrick s day brandon lloyd brandon lloyd celtic thunder

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.