-
Notifications
You must be signed in to change notification settings - Fork 102
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
CSS page-break-after / before / inside (avoid / always / etc.). #127
Comments
It would be really helpful if Readium can support page-break-inside: avoid property. The tables and images splitting across the page don't look professional. |
@olivierkorner wrote a nice A similar approach in ReadiumJS would not be implemented in Instead, this would require the full "programmatic resource fetching" triggered by zipped EPUB loading, or by obfuscated fonts, see Bottom line: I do not think that this is a very realistic approach, because of the caveats associated with "programmatic resource fetching" via BlobURIs (performance, error prone-ness, lack of audio/video streaming, broken Media Overlays). So, a better approach for ReadiumJS could be to perform a second layout / render path after modifying the CSS-OM (after the DOM is loaded)? to update the computed style? |
I think that after Houdini giving more control to CSSOM would help to solve this problem. |
@danielweck |
Issue moved from readium-js-viewer:
readium/readium-js-viewer#217
The text was updated successfully, but these errors were encountered: