Warning:
This wiki has been archived and is now read-only.

CSS Fragmentation Module Level 3

From Print and Page Layout Community Group
Jump to: navigation, search

Please add comments on the 'discussion' page, see the tab at the top.


Current http://www.w3.org/TR/2012/WD-css3-break-20120228/
Latest http://www.w3.org/TR/css3-break/
Editor's draft http://dev.w3.org/csswg/css3-break/

Abstract

This module describes the fragmentation model that partitions a flow into pages. It builds on the Page model module and introduces and defines the fragmentation model. It adds functionality for pagination, breaking variable fragment size and orientation, widows and orphans.

Table of contents

1. Introduction

1.1. Module Interactions

1.2. Values

2. Fragmentation Model and Terminology

3. Controlling Breaks

3.1. Forced breaks and keep-together: the ‘break-before’, ‘break-after’, ‘break-inside’ properties

break-before

CSS auto | always | left | right | page | column | region | avoid | avoid-page | avoid-column | avoid-region | inherit
XSL break-before auto | column | page | even-page | odd-page | inherit
XSL 1.1 keep-with-previous <keep> | inherit

break-after

CSS auto | always | left | right | page | column | region | avoid | avoid-page | avoid-column | avoid-region | inherit
XSL 1.1 auto | column | page | even-page | odd-page | inherit
XSL 1.1 keep-with-next <keep> | inherit

break-before/-after Comparison

CSS XSL 1.1 Discussion
auto auto
always -
left odd-page or even-page Depends on writing mode and initial page number
right even-page Depends on writing mode and initial page number
page page
column column
region - Proposed for XSL-FO 2.0
avoid keep-with-previous/next="always"
avoid-page keep-with-previous/next.within-page="always"
avoid-column keep-with-previous/next.within-column="always"
avoid-region - keep-with-previous/next.within-region proposed for XSL-FO 2.0

break-inside

CSS avoid | avoid-page | avoid-column | avoid-region
XSL 1.1 "keep-together" <keep> | inherit

break-inside Comparison

CSS3 does not support integer keep strengths.

CSS XSL 1.1 Discussion
auto auto
avoid keep-together="always"
avoid-page keep-together.within-page="always"
avoid-column keep-together.within-column="always"
avoid-region - keep-together.within-region proposed for XSL-FO 2.0

3.2. Breaks inside elements: ‘orphans’, ‘widows’

4. Rules for Breaking

4.1. Possible Break Points

4.2. Types of Breaks

4.3. Forced breaks

4.4. Unforced Breaks

4.5. Optimizing Unforced Breaks

5. Box Model for Breaking

5.1. Breaking into Varying-size Fragmenters

5.2. Margins at Breaks

5.3. Decorating Box Breaks

6. Conformance

6.1. Document Conventions

6.2. Conformance Classes

6.3. Partial Implementations

6.4. Experimental Implementations

6.5. Non-Experimental Implementations

6.6. CR Exit Criteria

Acknowledgments

References

Normative references

Other references

Index

Property index