Re:Cool HTML elements nobody uses
by thiht on Monday October 03, 2022 @02:15PM
(#33071461)
Meter, progress and details/summary are from HTML5 so definitely not “very old”
[ Parent
| on HN ]
I only bothered to check `details`, but that one dates back to at least the 2008 working draft of the HTML5 spec, which makes it ~14 years old - not absolutely ancient, but far from recent!
Re:Cool HTML elements nobody uses
by chrismorgan on Tuesday October 04, 2022 @12:24AM
(#33076693)
But IE and EdgeHTML-based Edge never supported <details>, so you had to polyfill it somewhat imperfectly. So one of the major browsers only gained support for it in 2020.
This was a significant dissuader, especially when you consider how you can’t transition the height (very often desirable) without added JavaScript. So <details> has really only been seeing much use in the last few years.
(The minimum possible polyfill is just under 750 bytes, supporting IE9+/Edge, requiring <summary> to be provided, and disallowing text children of <details>. The typical polyfill was more like 2–3KB.)