-
-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the resume_at and skip_stack structure
Many operations, including page breaks, require a pointer to a specific position of the box tree. For example, we used to have this structure to point to the beginning of the first child of the second child: (1, (2, None)) We now use: {1: {2: None}} This change is the first step to handle parallel flows (see #36). It doesn’t change anything to the layout for now, but it allows us to store multiple pointers in the same structure. The next step is to handle multiple pointers in skip_stack during boxes layout. It means that most of the *_layout() function need an extra for-loop to manage multiple skip stacks. We’ll then need to split new types of boxes: table cells, floats, absolutes…
- Loading branch information
Showing
10 changed files
with
147 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.