- From: H?kon Wium Lie via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 25 Oct 2011 20:23:39 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-gcpm In directory hutz:/tmp/cvs-serv520 Modified Files: Overview.src.html Log Message: rearranging page floats Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-gcpm/Overview.src.html,v retrieving revision 1.142 retrieving revision 1.143 diff -u -d -r1.142 -r1.143 --- Overview.src.html 25 Oct 2011 19:58:16 -0000 1.142 +++ Overview.src.html 25 Oct 2011 20:23:37 -0000 1.143 @@ -2717,7 +2717,7 @@ <h3>Float modifiers</h3> -<p>These values on 'float' can be combined with 'top'/'bottom'/'top-corner'/'bottom-corner' values: +<p>These values on 'float' can be combined with one of 'top'/'bottom'/'top-corner'/'bottom-corner' values: <dl> @@ -2725,34 +2725,61 @@ <dd>In paged media, float box to the next page. The first column of the multicol element on the next page is considered to be the natural column for boxes affected by this value. +<div class=example> + +<pre> +.figure { float: top-corner next-page } +</pre> + +</div> + + + <dt>next-column <dd>In paged media, float box to the next column. +<div class=example> + +<pre> +.figure { float: top next-column } +.figure { float: next-column top } +</pre> + +</div> + <dt>unless-room <dd>Only float the box if it otherwise would have lead to a column or page break. +<div class=example> -<dt>left +<pre> +.figure { float: top; width: 50% } +</pre> -<dt>right +<img src=7b.png> -</dl> +</div> +<dt>left + +<dd> <div class=example> <pre> -.figure { float: top next-column } -.figure { float: next-column top } -.figure { float: top unless-room } -.figure { float: top-corner next-page } +.figure { float: top right; width: 60% } </pre> +<img src=13.png> </div> -<p>Also, 'snap' can be combined with 'left' and 'right'. +<dt>right + +</dl> + + <h2>Multi-column float intrusion</h2>
Received on Tuesday, 25 October 2011 20:23:41 UTC