[webkit-gtk] [URI scheme] eBook application
Martin Robinson
mrobinson at webkit.org
Sun Jun 22 07:50:32 PDT 2014
On Sun, Jun 22, 2014 at 12:30 AM, Marta Milaković
<marta.milakovic at gmail.com> wrote:
works fine. But if I need to load many html files I don't want to
specify URI scheme in every request.
> E.g. In .html files there are requests for stylesheets and images.
> <link rel="stylesheet" href="css/stylesheet.css" type="text/css"/>
These URLs should be relative to the URL of the page. If you write
css/stylesheet.css here and the URL of the page is
book:epub.js/build/epub.js, the requested URL will be
book:epub.js/build/css/stylesheet.css
--Martin
More information about the webkit-gtk
mailing list