-
Notifications
You must be signed in to change notification settings - Fork 364
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
CSS3 Multi-column Layout #60
Comments
Hi @miminno And more importantly, how desperate is desperate? |
Do you need balanced columns? - No Obviously the more features get implemented the better for the project as a whole. |
What about floats in column content? I've read the multi column specification so I'll experiment and get back to you. |
@danfickle Floats is a must. Thanks for your response. |
Note to self: When we encounter a column in BoxBuilder we put it in a ColumnBox which itself extends BlockBox. We get the BlockBox super to do all the heavy layout work such as floats, lines, etc into one super long column. When the super (BlockBox) method returns we have a super long column that we split up based on the y position of each recursively examined box. For example if we desire two columns of 100px high each, everything with a y <= 100 is left alone, everything from 101 to 200 is put in column two and translated by one column width in the x direction and one column height up in the y direction, and so on. For this to work, we have to turn off page breaking when the BlockBox does the original single column layout. Perhaps this can be done by putting the context into screen (continuous) mode or having a third "in column" mode. Challenges:
|
@danfickle
I think WebKit will only respect the outermost block element with 'column-count'. You can probably safely follow the same rule. |
Since there's no updates on this I assume it won't be possible any time soon? |
Hi @miminno My apologies for giving you false hope on this being completed promptly, I was planning on doing it, but life intervened. Regards, |
Implements: + Unbalanced columns + Inline content only + column-count and column-gap properties
…dth was not always calculated before use.
I have just implemented CSS3 columns. At the moment columns are:
|
Hi @danfickle, are there any plans to look at balanced columns so the content would always split exactly half way, regardless if it's hit the bottom of the page? Thanks |
@asahicks - I will try to get balanced columns working when I next work on the column code but no timeframe (other than version 1). |
👍 for adding balanced columns. Or maybe just be able to add a fixed sized box with columns. Currently it seems always hitting the bottom of the page before going to next column. Have tried with margin, fixed-position and others. |
Guys, did anyone try to do this, or thought about it? My current employer needs this feature desperately, willing to offer a compensation for whoever takes on this task.
The text was updated successfully, but these errors were encountered: