[webkit-help] How to bring page-break concept into WebKit

Robin Cao robin.qxcao at gmail.com
Fri Oct 30 22:25:01 PDT 2009


i am planning to build an ebook reader using WebKit engine. The reader
have no scrollbars, so it must show contents page by page and try to
avoid splitting elements (such as image, table) into two separate
pages.
As far as i know, WebKit has no page-break concept except when printing.
i have considered drawing page by page to a graphics context just like
printing. But in this way, WebKit will lose track of active element,
and user interactions will be no longer possible.
Any pointers would be very much appreciated.

Thanks,
Robin


More information about the webkit-help mailing list