-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
So this was supposed to be resolved through #155 but it looks like things have broken in nasty ways ever since.
We have two major issues with the new implementation of font-size (relying on zoom):
-webkit-text-size-adjust: noneseems to not disable iPadOS desktop-class interventions reliably any longer;Firefoximplementation seems to really struggle inheriting zoom when there is a wrapping div/section, and has some nasty bugs on top of it.
From testing and debugging from the problematic files on Readium Playground.
Moby Dick:
- Firefox →
zoom: inheritonbody > sectionis needed to make it work, as well as disabling thefont-familyin… a Media Query (WTH) - Firefox → when removing font-family on
bodyand from the Media Query forpthat works as expected withoutinheriting - Safari iPadOS in desktop mode requires disabling the
font-familyin the Media Query as well
Les diaboliques:
- Firefox:
zoom: inheritonbody > divseems to be fixing at least most of the issues - Firefox → when removing font-family on
bodythat works as expected withoutinheriting - Safari iPadOS →
i,span, etc. must havezoom: valueset directly. Disabling the publisher font-family doesn’t seem to have any positive effect.
It makes things quite possibly impossible to handle from ReadiumCSS, since adding zoom:inherit is basically like applying it twice in the cascade for other browsers. Same when setting it on elements.
Metadata
Metadata
Assignees
Labels
No labels