Re: [whatwg/dom] Maybe throw NotSupportedError for createEvent('touchevent') (PR #1071)

@annevk commented on this pull request.

Thanks for tackling this!

> @@ -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}}.

Can you "inline" the `<p>` given it's the only child? Looks good with that.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1071#pullrequestreview-945820575
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1071/review/945820575@github.com>

Received on Tuesday, 19 April 2022 14:33:40 UTC