- From: Mats Palmgren <notifications@github.com>
- Date: Mon, 01 Apr 2019 06:33:45 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 1 April 2019 13:34:12 UTC
Oh, so "a valid custom element name" was intended to be one of the alternatives in that enumeration? Then it's even worse than I thought, because that meaning didn't even occur to me. I might have understood it like that if there had been a colon after the "not", maybe. @rniwa's first suggestion have that same problem IMO. The second suggestion is better but still rather convoluted. Perhaps making an explicit listing of alternatives is better: Context object’s local name must be one of the following: * a valid custom element name * "article", "aside", "blockquote", "body", "div", "footer", "h1", "h2", "h3", "h4", "h5", "h6", "header", "main" "nav", "p", "section", or "span" If it's not, then throw a "NotSupportedError" DOMException. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/745#issuecomment-478580882
Received on Monday, 1 April 2019 13:34:12 UTC