diff --git a/dom.bs b/dom.bs index 4f4a767a1..c0bac588c 100644 --- a/dom.bs +++ b/dom.bs @@ -37,6 +37,8 @@ urlPrefix: https://w3c.github.io/hr-time/#; spec: HR-TIME type:dfn; text: time origin; url: dfn-time-origin type:dfn; text: current high resolution time; url: dfn-current-high-resolution-time type:dfn; text: relative high resolution coarse time; url: dfn-relative-high-resolution-coarse-time +urlPrefix: https://w3c.github.io/touch-events/#; spec: TOUCH-EVENTS + type:dfn; urlPrefix: dfn-; text: expose legacy touch event APIs
@@ -5390,6 +5392,10 @@ are:
Let constructor be null. +
If interface is an ASCII case-insensitive match for + "
touchevent
" and the user agent's expose legacy touch event APIs is false, then + throw a "{{NotSupportedError!!exception}}" {{DOMException}}. [[!TOUCH-EVENTS]] +If interface is an ASCII case-insensitive match for any of the strings in the first column in the following table, then set constructor to the interface in the @@ -5427,14 +5433,6 @@ are:
If constructor is null, then throw a "{{NotSupportedError!!exception}}" {{DOMException}}. -
- -
If the interface indicated by constructor is not exposed on the - relevant global object of this, then throw a - "{{NotSupportedError!!exception}}" {{DOMException}}. - -
Typically user agents disable support for touch events in some configurations, in - which case this clause would be triggered for the interface {{TouchEvent}}. -
Let event be the result of creating an event given constructor.
Initialize event's {{Event/type}} attribute to the empty string.