Hacker News new | ask | show | jobs
by goto11 1791 days ago
> If you turned off JS, then you lost CSS too

Bizarrely, this was because CSS was implemented on top of JavaScript in Netscape. Netscape was initially not a fan of CSS and developed their own JavaScript-based style sheets. Then at some point they decided to support CSS anyway, and implemented it by transforming the CSS to JavaScript style sheets. This architecture was allegedly the reason for the incredibly buggy support for CSS in Netscape.