Re:You no longer need JavaScript: an overview of what makes ...
by voat on Thursday August 28, 2025 @09:33PM
(#45059016)
And even if they don't contain a hyphen! You can just <use> <anything> <you> <want>
[ Parent
| on HN ]
Re:You no longer need JavaScript: an overview of what makes ...
by masklinn on Friday August 29, 2025 @01:25AM
(#45060531)
The soft-requirement for hyphens is a form of namespacing: nothing precludes whatwg from adding <use> or <want> elements to HTML in the future, and that would conflict with and possibly break your page.
Re:You no longer need JavaScript: an overview of what makes ...
by 1718627440 on Friday August 29, 2025 @05:50AM
(#45062110)
To prove your point, <use> already exists although in SVG. https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/E...