codedokode 2 days ago

You can't make enough HTML elements to make everyone happy. This was the wrong idea from the start.

2
spartanatreyu 2 days ago

The solution isn't to make a new html element for each use case.

The solution is to make html elements extensible.

With the `appearance: base-select` css rule, we now have a standardized way to extend <select> with html and css, (and we have the potential to declaratively extend intractability too with invoking commands without needing to reach for JS)

owebmaster 2 days ago

> The solution is to make html elements extensible.

The solution would be to make Apple ship this:

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...

ksec 2 days ago

I would argue you can make enough HTML elements to make enough people happy. 80% for the 80%.