Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-multicol] specification should define interaction between 'column-span' and 'column-fill' #1075
The multicol spec doesn't define the interaction between 'column-fill' and elements that have 'column-span'. The definition of column-span says:
I think it's reasonably clear that in a non-paged context, this means that
This should actually be defined in a somewhat formal manner. The current spec appears to be more of a use cases document than a specification on this topic.
The Working Group just discussed
The full IRC log of that discussion<TabAtkins> Topic: INteraction between column-span and column-fill
<Rossen> github: https://github.com//issues/1075
<TabAtkins> rachelandrew: The multicol spec doesn't define the interaction between column-fill and elements with column-span
<TabAtkins> rachelandrew: Says content is auto-balanced across columns.
<fantasai> “ The current spec appears to be more of a use cases document than a specification on this topic.” :)
<TabAtkins> iank_: So this is - i fyou've got a bunch of text before the spanner, does it just fill the first column, or does it balance?
<TabAtkins> TabAtkins: Examples show it balancing
<TabAtkins> dholbert: Not sure that's what's being asked, it's something about pagination...
<TabAtkins> fantasai: So c-f takes auto, balance, and balance-all
<TabAtkins> fantasai: balance means the last page is balanced, all the rest you fill the first column, then the second, etc. When you run out of content that'll fit (a forced break, or a big chunk) you just stop, don't balance.
<TabAtkins> fantasai: balance-all means you *do* balance on all pages
<TabAtkins> fantasai: auto means you don't do any balance at all
<TabAtkins> fantasai: column-span says if you ahve content befor ethe span, the span is a break (like a page-break), but you always balance what's left.
<dbaron> ^^ you balance the stuff *before* the span
<dbaron> (I'm not in the room, though, but "What's left" seems wrong)
<TabAtkins> fantasai: So question in issue is, if you have a span in the middle of a page, the content after the span is balanced depending on the column-fill property.
<TabAtkins> fantasai: But if there's another spanner two pages down...
<TabAtkins> fantasai: The rule "balance the content before the spanner", does that apply to the previous pages ?
<TabAtkins> fantasai: I don't think that makes sense - a page break should limit how far you balance.
<TabAtkins> TabAtkins: Agree
<TabAtkins> fantasai: The row of boxes that get terminated by the spanner is the row that is forced to balance. Previous column rows don't balance by default (that depends on column-fill)
<fantasai> Rossen: ... TabAtkins: The concept you're talking about is the column row
<fantasai> Rossen: But not previous page
<fantasai> TabAtkins: by definition those are previous column rows
<TabAtkins> fantasai: You can ahve multiple column rows per fragmentainer.
<TabAtkins> fantasai: Generated by spanners and page breaks.
<TabAtkins> Rossen: So autofill rebalancing applies to the immediatley preceding column row of a spanning element.
<dbaron> ^^ I agree
<fantasai> s/what's left/the content before the spanner/
<TabAtkins> Resolved: autofill rebalancing applies to the immediatley preceding column row of a spanning element only.
<TabAtkins> dholbert: [gives a questionable example, we're trying to figur eit out]