A rendering engine written in Javascript? Actually more possible with WebAssembly I suppose, but Iād worry about user space browser leaking information.
https://www.smashingmagazine.com/2016/03/houdini-maybe-the-m...
though I don't know what has became of that project
Re:Off-main-thread HTML parsing in Servo
by gsnedders on Friday August 25, 2017 @08:22PM
(#15103343)
It's happening, slowly. CSS Typed OM should be shipping soonish (it essentially provides a new object-model around CSS which doesn't just treat everything as opaque strings like CSSOM does), the other parts are still fairly early-stage work.
Clearly. I would go further and say that we should move all parsing and rendering into the browser's "user space". That way, browser vendors can concentrate on a simple set of primitives, and improve security, robustness, and compatibility, while users get more freedom and flexibility.