-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The EPUB 3.1 spec should address common reader styling scenarios #671
Comments
Are there issues with the CSS cascade and the concept of user styles which are inadequate to the task at hand? |
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? |
I don't think there's anything we can do in the context of the 3.1 revision. Personalization on the web is a large problem, and will require coordination between CSS, the A11Y community, etc. |
The issue was discussed in a meeting on 2021-06-24
View the transcript3. The EPUB 3.1 spec should address common reader styling scenariosSee github issue #671. Wendy Reid: i was looking through the issue list and we've only got a few issues still open |
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.
The text was updated successfully, but these errors were encountered: