It'd definitely be much slower but that's irrelevant so long as it's still fast enough.
It'd definitely be much slower but that's irrelevant so long as it's still fast enough.
- how do I make this element the same size as this other element?
- how do I make this element the same size as this piece of unwrapped text?
To be fair, these are both require multipass layout, which (IIRC) CSS is explicitly specced not to do. But it's still necessary for complex layouts. Unfortunately it doesn't look like Descartes can help with this.
...way back when there was a thing called famo.us, which was a pure Javascript layout engine; it claimed to be faster (and more flexible) than traditional HTML and CSS. The company that wrote it went bust, and it seems to have turned into http://famous.org. But I've never heard of anyone using it...