W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: [css3-multicol] new editor's draft

From: Shelby Moore <shelby@coolpage.com>
Date: Tue, 26 Oct 2010 18:50:56 -0400
Message-ID: <8dc2c53dcb1427f2ed767aca983281d8.squirrel@sm.webmail.pair.com>
To: "Håkon Wium Lie" <howcome@opera.com>
Cc: "Håkon Wium Lie" <howcome@opera.com>, "Alex Mogilevsky" <alexmog@microsoft.com>, www-style@w3.org
> Also sprach Shelby Moore:
>
>  > > Maybe I can help you. At least, I think I have a use case for
>  > > 'column-span: all' when it appears in an overflow column.
>  > >
>  > > Say, you'd like this three-column design with a copyright text at the
>  > > bottom:
>  > >
>  > >     Menu    | main article | another
>  > >     item 1  | text and so  | box with
>  > >     item 2  | forth just   | some
>  > >     item 3  | some words   | content
>  > >             | you know     | over here
>  > >
>  > >      Copyright © 1900-2000000000000
>  > >
>  > > Your markup could be:
>  > >
>  > >   <div class=menu>..</div>
>  > >   <div class=article>..</div>
>  > >   <div class=box>..</div>
>  > >   <p class=copyright>...</p>
>
>  > Why should go underneath? Rather we must do what the designer
> specificed,
>  > and it should span all the three columns at the top.
>  >
>  >       Copyright © 1900-2000000000000
>  >      Menu    | main article | another
>  >      item 1  | text and so  | box with
>  >      item 2  | forth just   | some
>  >      item 3  | some words   | content
>  >              | you know     | over here
>
> 'column-span: all' is defined as:
>
>    The element spans across all columns. Content in the normal flow
>    that appears before the element is automatically balanced across
>    all columns before the element appears.

As written, that does not preclude an element the follows from spanning
content that preceded it.

> So, the spanning element will be under/below the content that comes
> before it.

If that is what you intend, you need to say that, because the spec above
does not say that.

Regardless of how you interpret the spec above for 'column-span', it can
not go underneath, because the prior columns have already been
'break-after'. The spec does not allow us to put anything in the columns
after a column break.  Since when did a column break become not a column
break?

http://www.w3.org/TR/css3-multicol/#column-breaks

If a designer says to break the column, they mean it-- nothing must follow
in that column.

> Inserting it above other content would break the principle
> of progressive rendering. It would also be harder to implement, I
> believe.

If that is what you want, that column can never span any columns before
it, then you can not put it underneath either.

> If you want a spanning element on top, it should come before the other
> content in the source.

Okay then please make the spec say that. It can not possibly be
interpreted to say that now. Also then you can not put it underneath
either.
Received on Tuesday, 26 October 2010 22:51:23 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:33 GMT