readium / swift-toolkit

A toolkit for ebooks, audiobooks and comics written in Swift
https://readium.org/mobile/
BSD 3-Clause "New" or "Revised" License
247 stars 97 forks source link

Readium WebPub (HTML) are paginated with Readium CSS #118

Open mickael-menu opened 4 years ago

mickael-menu commented 4 years ago

An HTML Readium WebPub (e.g. https://readium.org/webpub-manifest/examples/MobyDick/manifest.json) is currently paginated in the Swift navigator, and Readium CSS is injected.

Following recent call discussions, this should be considered as a bug. Readium CSS must be injected only when overflow is paginated: https://readium.org/webpub-manifest/extensions/presentation.html#overflow

So by default, an HTML WebPub is not styled, with the default web view scroll. An horizontal swipe should be used to navigate to the next resources.

llemeurfr commented 4 years ago

It would be useful to explain here the consensus behind this choice (a choice I personally approve).