- From: MURAKAMI Shinyu <murakami@antenna.co.jp>
- Date: Wed, 18 Sep 2013 03:11:48 +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/17 18:27:48 > Also sprach MURAKAMI Shinyu: > > > > > <div style="margin-left: 3cm; margin-right: 3cm"> > > > > ... > > > > <figure style="float: snap(0); width: 100%;"> > > > > ... > > > > </figure> > > > > </div> > > > > > > > > If snap(0) makes itself a page float conditionally, > > > > the width of the figure also will be changed? > > > > (When this figure is a page float, the 100% width is > > > > the column/page width and the margin-left/right > > > > of the div does not affect the width of the page float.) > > > > > > Let's see. If the figure is in a multicol element, 100% refers to the > > > column width -- this is the case both for page floats and other > > > elements, so there should be no change. > > > > When the figure is not a page float, the parent div is the > > containing block and the 100% refers to its width, i.e, > > smaller than the colum width by div's margin-left/right. > > Inside the multicol, the column is the containing block: > > Column boxes act as the containing block for their content. > > http://www.w3.org/TR/css3-multicol/ 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? Shinyu Murakami Antenna House
Received on Tuesday, 17 September 2013 18:12:12 UTC