3 ms·
>it was basically speced 25 years ago How do we fix it though? It clearly needs major changes and improvements, but those can't be made without breaking compat
by foobar33333 5y ago
>it was basically speced 25 years ago
How do we fix it though? It clearly needs major changes and improvements, but those can't be made without breaking compatibility. Do we add a select2 element? modern-select?
- brigandish 5y agoI'd plump for dropdown, if there really needs to be a new element. Not sure why options elements couldn't accept more attributes, they're easily ignored and don't affect the DOM tree. What's wrong with an icon attribute, for example, that points to an image? I don't know, but looking at the timeline for other features to be implemented that virtually (if not literally) every web dev has cried out for since year dot like vertical align and grid, I'm putting my money on a new select element around 2035.