Hacker News new | ask | show | jobs
by eurasiantiger 1455 days ago
HTML and CSS are programming languages too—documents in those languages are declarative programs for the browser’s layout engine.

The way one writes their CSS selectors against their HTML structure has huge real-world performance implications, but people rarely care to think about what actually happens under the hood as a browser parses their documents and generates an image on the screen.