3 ms·
> There are so many things you need to do in HTML to make a modern web page that this suggestion conveniently ignores. Any examples of things that aren't handl
by wtetzner 6y ago
> There are so many things you need to do in HTML to make a modern web page that this suggestion conveniently ignores.
Any examples of things that aren't handled by the suggested syntax?
- Tade0 6y agoComment nodes, multiple text nodes in one element node, CDATA section.
- wtetzner 6y agoAre there any examples of where you'd need that in a web application that's just being used to update the DOM? None of those seem to be necessary to create a modern web application. I'm not arguing, just trying to understand.
- Tade0 6y agoIf you have a rich text editor or inline SVG there, you're bound to have to deal with them eventually.
- wtetzner 6y agoWhy? I'm really trying to understand. If you're directly modifying the DOM, why would you need comments or CDATA tags? Is CDATA useful in a DOM if you don't actually need a textual representation?