Warning:
This wiki has been archived and is now read-only.
CSS Fragmentation Module Level 3
From Print and Page Layout Community Group
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/ |
Contents
- 1 Abstract
- 2 Table of contents
- 2.1 1. Introduction
- 2.2 1.1. Module Interactions
- 2.3 1.2. Values
- 2.4 2. Fragmentation Model and Terminology
- 2.5 3. Controlling Breaks
- 2.6 3.1. Forced breaks and keep-together: the ‘break-before’, ‘break-after’, ‘break-inside’ properties
- 2.7 3.2. Breaks inside elements: ‘orphans’, ‘widows’
- 2.8 4. Rules for Breaking
- 2.9 4.1. Possible Break Points
- 2.10 4.2. Types of Breaks
- 2.11 4.3. Forced breaks
- 2.12 4.4. Unforced Breaks
- 2.13 4.5. Optimizing Unforced Breaks
- 2.14 5. Box Model for Breaking
- 2.15 5.1. Breaking into Varying-size Fragmenters
- 2.16 5.2. Margins at Breaks
- 2.17 5.3. Decorating Box Breaks
- 2.18 6. Conformance
- 2.19 6.1. Document Conventions
- 2.20 6.2. Conformance Classes
- 2.21 6.3. Partial Implementations
- 2.22 6.4. Experimental Implementations
- 2.23 6.5. Non-Experimental Implementations
- 2.24 6.6. CR Exit Criteria
- 2.25 Acknowledgments
- 2.26 References
- 2.27 Normative references
- 2.28 Other references
- 2.29 Index
- 2.30 Property index
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 |