Attached you'll find a patch which adds the QWebFrame::scrollBarGeometry method. This method simply returns the geometry for the frame's scrollbars. In this way it is possible for client applications to actually calculate the visibleContents of the frame.
Created attachment 26461 [details]
Adds new method to QWebFrame for scrollBarGeometry