Comment

Comment by cookiengineer

I feel ya. I'm refactoring my CSS parser the third time now, because I needed to support nested media queries (and therefore the logical condition "spec").

It's amazing how complex even CSS has gotten. And implementing HTML without the ISO SGML spec and the SGML handbook is close to impossible.

So many edge cases, so much layouting overhead, and so much damned flow root types.

Honestly in the beginning I thought "how hard can it be, it's just like XML"... I was so wrong about this.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton