Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
spec:css4-page [2011/12/09 17:12]
alexmog
spec:css4-page [2014/12/09 15:48] (current)
Line 18: Line 18:
   * pagination creates multiple boxes per element - that has to be accounted for in spec definitions and in DOM (http://​lists.w3.org/​Archives/​Public/​www-style/​2011Jun/​0039.html)   * pagination creates multiple boxes per element - that has to be accounted for in spec definitions and in DOM (http://​lists.w3.org/​Archives/​Public/​www-style/​2011Jun/​0039.html)
   * containing block definition in pagination, in particular when broken across pages of different size (http://​lists.w3.org/​Archives/​Public/​www-style/​2011Jun/​0039.html)   * containing block definition in pagination, in particular when broken across pages of different size (http://​lists.w3.org/​Archives/​Public/​www-style/​2011Jun/​0039.html)
-  ​* Rules for Pagination into Varying-Width Pages (http://​lists.w3.org/​Archives/​Public/​www-style/​2011Sep/​0301.html) +   How multi-box or multi-line floats split across a boundary, and if there are heuristics for avoiding such a split if the entire floated element could display intact in the element past the boundary. 
-  ​* How multi-box or multi-line floats split across a boundaryand if there are heuristics for avoiding such a split if the entire ​floated ​element ​could display intact ​in the element ​past the boundary.+ 
 +=== proposed "Rules for Pagination into Varying-Width Pages" === 
 +// see http://​lists.w3.org/​Archives/​Public/​www-style/​2011Sep/​0301.html ​and discussion http://​lists.w3.org/​Archives/​Public/​www-style/​2011Sep/​thread.html#​msg301 // 
 + 
 +Rules: 
 +  -  ​Layout is performed per-pagewith each page continuing progress from the breakpoint on the previous page, but recalculating sizes assuming an initial containing block of the current page size. 
 +  - Intrinsic sizes are calculated and maintained across ​the entire element. Where an ICB size is needed, assume an initial containing block of the starting page's size. 
 +  - Continuations of boxes on a previous page must start at the top of the page. If this results ​in multiple shrinkwrapped floats side-by-side that would otherwise be staggered (if they were not continuations), ​the floats'​ widths are reduced in proportion to their original widths until they fit. However they are not reduced ​past their min-content width; this may result in overlap between left and right floats or side-by-side left floats overflowing ​the containing block. 
 + 
 +Implications:​ 
 +  * Boxes (including tables) fullfilling layout constraints at their fill-available size will change widths across pages. 
 +  * Boxes (including tables) fulfilling layout constraints at their min-content,​ max-content,​ or fixed-width size will maintain their width across pages. 
 +  * Floats might overlap if, e.g. a left float and a right float both begin on a wide page, but their min-content or fixed-width measures taken together are too wide to fit on the second, narrower page. (They will not overlap if only their max-widths are too wide, since the shrinkwrap adjustment will give them narrower widths.) 
 
spec/css4-page.txt · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki