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

Support column balancing #387

Merged
merged 21 commits into from
Oct 4, 2017
Merged

Support column balancing #387

merged 21 commits into from
Oct 4, 2017

Conversation

kwkbtr
Copy link
Contributor

@kwkbtr kwkbtr commented Oct 4, 2017

Spec: CSS Multi-column Layout Module Level 1 - column-fill

Values auto, balance and balance-all of column-fill property are supported.

- Balance columns when 'column-fill: balance-all' is specified by:
  - Finding container block size with which block sizes of the columns have the minimum variance
  - Only searching for container block size greater than 90% of the original size
- TODO
  - Support cases with page floats
  - Support balancing the last page appropriately
…r the last column is broken by a forced break
- Stop iteration as soon as the penalty for the layout candidates stops decreasing
- The condition about 90% of the container block size is removed
@kwkbtr kwkbtr merged commit 11deb17 into master Oct 4, 2017
@kwkbtr kwkbtr deleted the column-fill_balance-r#439 branch October 4, 2017 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant