-
Notifications
You must be signed in to change notification settings - Fork 23
Description
This will be a tougher one.
Unlike horizontal RTL, for which there is an attribute you can target in CSS (dir), vertical-writing is a CSS property: you need to know its value (and there are deprecated values to take into account if you want to support IE 11). Please feel free to confirm/infirm, maybe I’m missing something obvious there.
We definitely need to constrain the height of the document in scroll mode, when vertical-writing is used, so I’ll probably bet on appending a flag inside html so that we can do that in CSS.
Unfortunately, there is another painful issue we must take into account: -epub-writing-mode (in which the prefix is the culprit).
Blink and Webkit have aliased the -epub- prefix, Gecko didn’t (FYI didn’t check Trident/EdgeHTML yet). Consequently, if the author is using -epub-writing-mode: vertical-rl, it will fail in Firefox, Gecko wants the unprefixed property there.
I’m pretty sure those issues were tackled in Readium 1 at some point, so any hint would be greatly appreciated.