2 ms·
This may be off-topic, but progress with CSS (flowable text, etc.) is not only glacially slow, but we're still stuck with the terribly-designed CSS standard. I
by crazygringo 15y ago
This may be off-topic, but progress with CSS (flowable text, etc.) is not only glacially slow, but we're still stuck with the terribly-designed CSS standard.
I find myself wishing for some kind of "layout bytecode" -- basically, machine-readable instructions which would size every element in a browser's page using custom layout algorithms that would depend on the size of the page and the size of font glyphs.
CSS would be compiled into this bytecode, but we'd be open to inventing new and better style languages which could be compiled as well. So we could create layout languages based on columns instead of floats, for example.
If this were actually implemented in newer browsers, it could actually be emulated in older browsers using JS libraries (although it would be much slower).
Note that this really only has to do with the layout properties of CSS. Things like color, rounded corners, drop shadows -- all that would still be implemented traditionally, but these aren't generally what people have problems with. It's the terrible layout algorithms of CSS which generate endless headaches.