4 ms·
Including a web browser seems a lot easier and simpler than coming up with your own rendering system once you want to support a feature set past the trivial. A
by hombre_fatal 2y ago
Including a web browser seems a lot easier and simpler than coming up with your own rendering system once you want to support a feature set past the trivial.
Also, xhtml is just markup. It doesn’t mean you have to support all the possible tags and styles of modern html and css. It would be a sensible choice even if you had basic needs. You just parse it into whatever representation you want.
- berkes 2y ago> Also, xhtml is just markup. And so it's not a programming language runtime (i.e. javascript or wasm), nor a css renderer, nor a bunch of web-apis. It's these things, not the (X)HTML parsing and rendering that makes a browser the complex thing it is.