-
Notifications
You must be signed in to change notification settings - Fork 661
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
[css-multicol] specification should define interaction between 'column-span' and 'column-fill' #1075
Comments
I think requiring the balance-all behavior on all preceding pages is an unintended side effect of the imprecise wording you mentioned, and that "balanced across all columns before the element appears." should be scoped to the current fragmentainer. |
How about honoring |
Removing agenda+ until #1072 is resolved |
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] |
…ately preceding the spanner #1075
…ately preceding the spanner w3c#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
column-fill
is only honored in the part of the multicol after the lastcolumn-span: all
element inside it. However, it's less clear what happens in paged media. Reading the text quoted above literally, the spec currently says thatcolumn-fill: balance-all
behavior (rather thanbalance
, which is the initial value) is required on any pages of a multicolumn element where a later page has a column-spanning element.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.
/cc @neerjapancholi
The text was updated successfully, but these errors were encountered: