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

When a block is out of page bounds but there is no page after, insert a page to move the block into it #9

Open
zbeyens opened this issue Feb 23, 2022 · 0 comments
Labels
spec When... then...

Comments

@zbeyens
Copy link
Member

zbeyens commented Feb 23, 2022

Given

  • first page height 100
  • block height 60
  • second block is out of bounds
<editor>
          <hpage>
            <hp>1</hp>
            <hp>2</hp>
          </hpage>
        </editor>

When

  • normalizing page

Then

  • insert second page
  • move second block to second page
<editor>
          <hpage>
            <hp>1</hp>
          </hpage>
          <hpage>
            <hp>2</hp>
          </hpage>
        </editor>
@zbeyens zbeyens added the spec When... then... label Feb 23, 2022
@zbeyens zbeyens mentioned this issue Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec When... then...
Projects
None yet
Development

No branches or pull requests

1 participant