Giter VIP home page Giter VIP logo

Comments (5)

JayPanoz avatar JayPanoz commented on June 5, 2024

The underlying question is whether this must be treated as Readium CSS documentation or in another project entirely (interop)?

At first sight, I believe it could be useful to implementers, especially as it is related to CSS, but I’d be happy to be proven wrong.

from readium-css.

JayPanoz avatar JayPanoz commented on June 5, 2024

So here comes the first issue of scoping this to Readium CSS: the iBooks.js lib, which is an embedded JS file in fixed-layout books. To clarify, it is not related to iBooks Author widgets, it is something completely different.

The aim of this lib is to provide authors with a set of classes which ibooks.js will use to trigger animations, make elements draggable, play audio, defer events, etc.

As far as I can tell, this lib is self-contained but will fail in Reading Systems that don’t implement navigator.epubReadingSystem.hasFeature('touch-events').

The possibility authors have been using it in the wild (outside iBooks) is unclear though.

from readium-css.

JayPanoz avatar JayPanoz commented on June 5, 2024

Added ibooks:scroll-axis meta.

My assumption is that scroll mode is tied to the publication’s language and not writing-mode – so it is horizontal for Chinese and Japanese by default. As a consequence, they needed this meta so that authors could override this behavior and set it to vertical if writing-mode is horizontal (which can happen).

But this is just an educated guess.

from readium-css.

JayPanoz avatar JayPanoz commented on June 5, 2024

Closing this issue since it is now documented.

Authoring libs are out of scope.

from readium-css.

JayPanoz avatar JayPanoz commented on June 5, 2024

Updated first comment, so that it is aligned with docs, following this EPUB Revision discussion.

from readium-css.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.