Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The EPUB 3.1 spec should address common reader styling scenarios #671
As an implementor on the Readium EPUB viewer, one thing that was noticeably absent in the spec was how to handle reader preferences.
For example these three things were configurable in the readium epub reader: font size, background color, and font color.
There is no one way to deterministically set these properties in every epub content document. This is because the spec does not address this scenario in spite of almost every epub reader allowing users to change these styling properties.
It's a matter of overriding the author's css which isn't incredibly difficult but there are many edge cases and it feels overall like a very hacky approach.
referenced this issue
Feb 15, 2016
Hi there, just providing a small example of default CSS used for user styles you can find in a RS:
That is the most insane I've found for the moment—yep, we are indeed collecting RS' default CSS —but imho, we may have got a bigger than expected problem here… Or in other words, how can we even rely on the concept of cascade if RS are doing that?