3 ms·
Using native control implementations in a browser isn't really an option. They make a lot of assumptions about how rendering works and how input events are rout
by jimrandomh 7y ago
Using native control implementations in a browser isn't really an option. They make a lot of assumptions about how rendering works and how input events are routed which don't hold up inside a browser.
- jfkebwjsbx 7y agoI guess the parent was referring to re-implementing them within the browser. In other words, not using the actual native one but creating a fake one that looks and behaves like the native one.
- saagarjha 7y agoWebKit uses native controls on macOS. I think it does when GTK is available, too.
- userbinator 7y agoI'm pretty sure browsers in the 90s used native UI, or at least IE did.
- ygra 7y agoOnly for the select element. And that's a major reason why it was so broken amidst all the browser-rendered content.