How to get the window size with Browser.Dom?

This creates another problem, I set up some attributes on my body:

<body id="diagram" style="overflow: hidden;">

but there is no way to construct a body like this with Browser.document. It might be better if body had its own type and constructor:

type Body msg = ...

body : List (Attribute msg) -> List (Html msg) -> Body msg

I fairly often want to create SVG applications that are full screen, but where the viewport is larger than the available screen size, so you can scroll around and zoom in and out and so on. To do this nicely you have to set overflow: hidden otherwise the scroll bars will flicker on and off.