Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5390,6 +5390,11 @@ are:
<ol>
<li><p>Let <var>constructor</var> be null.

<li>
<p>If <var>interface</var> is an <a>ASCII case-insensitive</a> match for "<code>touchevent</code>"
and the user agent's <a>expose legacy touch event APIs</a> is false, then <a>throw</a> a
"{{NotSupportedError!!exception}}" {{DOMException}}.

<li>
<p>If <var>interface</var> is an <a>ASCII case-insensitive</a> match for any of the strings in the
first column in the following table, then set <var>constructor</var> to the interface in the
Expand Down Expand Up @@ -5427,14 +5432,6 @@ are:
<li><p>If <var>constructor</var> is null, then <a>throw</a> a "{{NotSupportedError!!exception}}"
{{DOMException}}.

<li>
<p>If the interface indicated by <var>constructor</var> is not exposed on the
<a>relevant global object</a> of <a>this</a>, then <a>throw</a> a
"{{NotSupportedError!!exception}}" {{DOMException}}.

<p class=note>Typically user agents disable support for touch events in some configurations, in
which case this clause would be triggered for the interface {{TouchEvent}}.

<li><p>Let <var>event</var> be the result of <a>creating an event</a> given <var>constructor</var>.

<li><p>Initialize <var>event</var>'s {{Event/type}} attribute to the empty string.
Expand Down