- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 05 May 2022 12:53:56 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1079@github.com>
Closes #849. <!-- Thank you for contributing to the DOM Standard! Please describe the change you are making and complete the checklist below if your change is not editorial. --> - [ ] At least two implementers are interested (and none opposed): * Gecko and Chromium have both been engaged on #849 but are not yet signed off on this exact formulation - [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at: * … - [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed: * Chrome: … * Firefox: … * Safari: … (See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.) --- Points for discussion: - I did not disallow `=` inside attribute local names. Both the parser and DOM APIs currently disallow them, except the parser allows it for the first character. I'm happy to change this if people prefer; I started with the simpler version. - This does not disallow lone surrogates, the Unicode replacement character U+FFFD, single quotes, or < in any position, because the HTML parser allows introducing those already and it seems nicer to align. - I did not change validation for `createProcessingInstruction()` or `createDocumentType()`. We could try to simplify those too, perhaps after investigating parser behavior. But they didn't seem to be causing any real web developer pain, unlike elements and local names, so I thought it'd be better to just leave them as-is. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/dom/pull/1079 -- Commit Summary -- * Allow more characters in element/attribute names and prefixes -- File Changes -- M dom.bs (96) -- Patch Links -- https://github.com/whatwg/dom/pull/1079.patch https://github.com/whatwg/dom/pull/1079.diff -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1079 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1079@github.com>
Received on Thursday, 5 May 2022 19:54:08 UTC