3 ms·
There's a lot of "reinventing HTML/JS" that goes on which irks me. Folks reinvent `<select>` in JS all the time. This stops type-to-search and mobile sites from
by Manishearth 10y ago
There's a lot of "reinventing HTML/JS" that goes on which irks me. Folks reinvent `<select>` in JS all the time. This stops type-to-search and mobile sites from working. The same goes for password fields (for password managers and "click to show" on mobile). The same goes for reimplementing scrolling in JS and text zoom. The same goes for onclick links (like twitter) and breaking ctrl-click and other linky things. The same goes for a million different features of the web and screen readers. And like you said, the same goes for img and feeds.
If you're going to reimplement something, bear in mind that it may have far more functionality than that for your primary use case.