Re:Clang runs in the browser and compiles C++ to WebAssembly
by javajosh on Tuesday January 02, 2018 @12:34PM
(#16053486)
>layout engine
Absolute positioning gets a bad rap! And yes, if you want widgets then you have a lot of work ahead of you. But it's a lot of fun to just work with the primitives - don't believe them when they tell you always need a GUI toolkit!
Another, I think, is that, to add scroll bars to a view, you have to write SVG scroll bars, make them respond to the mouse scroll wheel, be accessible, etc.
Even if we will get them, eventually, it won’t be “easily”.
I think it is easier to use HTML for layout, and SVG (or canvas) for those views that need it. You can do that now.