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
window :-)
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?
Thanks,
Jim
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.