-
Notifications
You must be signed in to change notification settings - Fork 145
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
Rendering issue around some margined block text in vertical layout. #1245
Comments
I suspect that the bug you found is an edge case in ReadiumCSS, which applies certain styles that break the text flow under certain border conditions (e.g. viewport size). That being said, it could just be a Chromium bug as well. Let us know if you see a pattern in the CSS debugger / Web Inspector. CC @JayPanoz |
Hmm. Anyway, I'm attaching the Web Inspector results when viewed in Safari Chrome. This picture is purely displaying the source HTML in the EPUB package and does not incorporate Readium-CSS. Additionally, I have try to insert column-width property in < body > manually, this dose not cause any problems. Does this give you a hint? |
I've probably found cause of problem so I'll tell you. I tried to modify --RS__maxMediaHeight to 1000vw in my test html, this makes correct result. So I think it's because the size of div is limited by max-width in ReadiumCSS-before. I don't know what the right value to put here is for me, but I think the cause is right in this. |
Merging into duplicate issue #959 |
Hi.
I found bad layout result in vertical book.
source: http://umetake.d.dooo.jp/kindle/download/Miserables.epub
Environment: Thorium-1.6.0-alpha.1.323935906
This problem seems to occur when the screen is small or the text is large with paged mode. The central block of text has margin indentation by div. When a line break occurs in the block, it causes an overlap with subsequent text.
The shot below corresponds to the range from id="kobo.97.1" to id="kobo.119.1" of 0006.xhtml in EPUB Package. (8/59 6% on above shot)
OK shot:
![ok](https://user-images.githubusercontent.com/3982249/97673063-785edc80-1ace-11eb-9fb1-952d5b60668f.png)
Invalid shot: Flowed text overlaps with subsequent paragraph.
![invalid](https://user-images.githubusercontent.com/3982249/97673071-7ac13680-1ace-11eb-86f3-058877bc4c11.png)
The text was updated successfully, but these errors were encountered: