As soon as WASM is able to draw to the canvas, we can stop using the DOM for anything and everything and pick up where we left off with GUI development in the 1990s.
Dealing with text would still be a huge problem. Drawing text on canvas and making it selectable is still a hard problem, you have to think about all the intricacies of text (character widths, spacing, RTL, etc)