Re: [whatwg/dom] Allow more characters in element/attribute names and prefixes (PR #1079)

zcorpan left a comment (whatwg/dom#1079)

I don't have a link to previous discussion, but a quick note:

> My general concern is that allowing `<` would seem to cause trouble for things that are scanning for dangerous strings. E.g. `<<script>` is now an element with tagname `<script`.

The first character needs to be ASCII alpha. But `<x<script>` would have tagname `x<script`, which matches the HTML parser.

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

Message ID: <whatwg/dom/pull/1079/c2902809541@github.com>

Received on Thursday, 22 May 2025 22:58:57 UTC