Skip to content
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

Missing image elements #1383

Closed
depth42 opened this issue Oct 9, 2024 · 3 comments · Fixed by #1384
Closed

Missing image elements #1383

depth42 opened this issue Oct 9, 2024 · 3 comments · Fixed by #1384
Labels

Comments

@depth42
Copy link

depth42 commented Oct 9, 2024

Describe the bug
Under some circumstances, image elements are missing in the paginated HTML output.

To Reproduce
Paginate the attached document with Vivliostyle v2.30.4

Expected behavior
The paginated output should contain an image at the bottom of the first page like in this screenshot.

expected

Actual behavior
The paginated output contains an empty area where the image should be:
actual

Desktop:

  • macOS 15.0.1
  • Safari 18.0.1

Additional context
If you remove the span element (by removing lines 25 and 32 from the HTML input file), the pagination is working correctly.

VivliostyleBug.zip

@depth42 depth42 added the bug label Oct 9, 2024
@MurakamiShinyu
Copy link
Member

MurakamiShinyu commented Oct 10, 2024

@depth42 Thank you for reporting the issue. I am investigating it and found that this problem (float box near page bottom may disappear if the float element and its sibling elements have parent inline element) existed since very old versions of vivliostyle.

@depth42
Copy link
Author

depth42 commented Oct 10, 2024

Thank you for fixing this so fast. It now works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants