2 ms·
Yeah the problem with CSS comes from its weird design with many implicit rules (border collapse, block formatting context, and hundreds of other quirks), but no
by littlestymaar 2y ago
Yeah the problem with CSS comes from its weird design with many implicit rules (border collapse, block formatting context, and hundreds of other quirks), but not from the fact that it's “bloated”.
So if you want to address CSS's problem, they must:
- invent a more coherent and easy to use styling language
- implement a GPU-accelerated renderer
- write tons of documentation to make sure people will find how to use it
No wonder why people stick with CSS for everything nowadays even if the consensus is that it's a really annoying tool to work with.
- philistine 2y agoMy point is that this language could be built on a foundation of CSS. Like don't implement the flow model, just implement box. Change how all the border collapses and block formatting work, but keep CSS as the language. I mean they should even change the order priority to make it fit with typical conventions.