Re: [w3c/touch-events] Specify what browsers do on non-touch devices (#64)

> 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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/touch-events/issues/64#issuecomment-331790242

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