Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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)


> 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...


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: