What we need is real DOM operations in web workers. It's understandable why we don't, but you don't have to do DOM operations on the main document. Allow DOM operations on a separate temporary document. The worker would message a DOM object back to the main process where you'd adopt the DOM object to the main document before insertion. This is DOM level 1 stuff.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!