Scale dome.html viewport
This sounds reasonable to be able to scale/stretch the viewport/canvas of the experimental dome.html
The reason this doesn't work right now is that SDL behaves very strangely when the canvas is resized. If I remember correctly, it would desynchronize the mouse position from the view, leading to weird input behaviour, so for the moment, dynamic scaling isn't supported.
You can set the "window size" during your Game.init(), but that size is then fixed for the duration of the game session.
Perhaps this will improve in the future?
And can I get the screen max height and width?
Not right now, but I'll make a note to add that in the future.
The new web engine features a scalable web canvas, which will allow the browser to slot it into whatever space you need. Therefore, I'm closing this issue.