Re: [touch-events] Specify what browsers do on non-touch devices

> the various `ontouchstart` etc are defined here https://w3c.github.io/touch-events/#extensions-to-the-globaleventhandlers-interface - how would one also define content attributes, rather than just IDL attributes?

If they are attributes allowed on any HTML, element, then they would be defined by adding them to the list of attributes here:

https://html.spec.whatwg.org/multipage/dom.html#global-attributes:event-handler-content-attributes

If they’re instead allowed only on specific elements, then we would need to update the per-element sections of the HTML spec to add them; for example, see here:

https://html.spec.whatwg.org/multipage/sections.html#the-body-element:concept-element-attributes

But if we want to define them as obsolete, then we’d need to instead add them to one of these:

* https://html.spec.whatwg.org/multipage/obsolete.html#non-conforming-features
* https://html.spec.whatwg.org/multipage/obsolete.html#obsolete-but-conforming-features

-- 
GitHub Notification of comment by sideshowbarker
Please view or discuss this issue at https://github.com/w3c/touch-events/issues/64#issuecomment-331790242 using your GitHub account

Received on Monday, 25 September 2017 06:41:03 UTC