There isn't such a concept for HTML. HTML pages can in general flow
themselves into arbitrary shapes, and are supposed to continue to look
good at other sizes & shapes (such as when the font size is increased
or decreased). It's true that some pages are laid out with a
particular shape in mind, but that's more of a flaw in those pages
than a feature to be advertised. So there isn't a concept of "best
size" in WebKit. When you're zooming larger, you can compute how much
taller you need to get to make the vertical scroll bar disappear, but
when you're zooming smaller there's no ideal target size.
I realize that well designed pages page should flow to fit the browser
I guess I phrased the question poorly. Is there a public method to
compute how big the web view needs to be to make the horizontal and/or
vertical scroll bar disappear so when zooming my window I can make it
wide enough (and perhaps tall enough if the screen is tall enough ) to
make the scrollbar disappear, but no wider?