- From: MURAKAMI Shinyu <murakami@antenna.co.jp>
- Date: Wed, 18 Sep 2013 09:41:25 +0900
- To: Håkon Wium Lie <howcome@opera.com>
- Cc: www-style@w3.org
Håkon Wium Lie <howcome@opera.com> wrote on 2013/09/18 3:56:33
> Also sprach MURAKAMI Shinyu:
>
> > In my understanding, the column is the containing block of
> > multicol's child blocks. For example,
> >
> > <multicol>
> > <block1>
> > <block2>...</block2>
> > </block1>
> > </multicol>
> >
> > The block1's containing block is the column box,
> > but block2's containing block is block1.
> > Something wrong?
>
> So the margins are set on an element inside the multicol element
> and not on the multicol element?
Yes.
> Yes, then the width of the page float
> will change. Here's an example document
That's the answer I expected.
>
> http://people.opera.com/howcome/2013/tests/multicol/containing-block.html
>
> which renders (in Opera 12.16):
>
> http://people.opera.com/howcome/2013/tests/multicol/containing-block.png
>
> Normally, I would expect margins to be set on the multicol element
> itself and column gaps to be set used to achieve spacing between columns.
>
> But, you're right -- there are situations when the sizing will change.
I think that's an important point.
<multicol>
...
<div style="margin-left: 3cm; margin-right: 3cm">
...
<figure style="margin-left: -3cm; margin-right: -3cm;
float: snap(0)">
(intended to fit to the column width,
but when this becomes a page float,
the width will be too big)
</figure>
...
</div>
...
</multicol>
Shinyu Murakami
Antenna House
Received on Wednesday, 18 September 2013 00:41:45 UTC