8000 [css3-break] Simplify rule about positioning to just say you can't pl… · w3c/csswg-drafts@db84a2a · GitHub
Skip to content

Commit db84a2a

Browse files
committed
[css3-break] Simplify rule about positioning to just say you can't place things above the top of the fragmentainer; high as possible otherwise should be implied by general layout rules.
--HG-- extra : rebase_source : a7352c2c640439921589ebf191320d4402c7ce47
1 parent 325ac7a commit db84a2a

2 files changed

Lines changed: 38 additions & 30 deletions

File tree

css3-break/Overview.html

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,24 @@
22
"http://www.w3.org/TR/html4/strict.dtd">
33

44
<html lang=en>
5-
<head profile="http://www.w3.org/2006/03/hcard"><meta
6-
content="text/html; charset=utf-8" http-equiv=Content-Type>
7-
5+
<head
6+
profile="http://dublincore.org/documents/2008/08/04/dc-html/ http://www.w3.org/2006/03/hcard">
7+
<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
88
<title>CSS Fragmentation Module Level 3</title>
9+
10+
<link href="http://purl.org/dc/terms/" rel=schema.DC>
11+
<meta content="CSS Fragmentation Module Level 3" name=DC.title>
12+
<meta content=text name=DC.type>
13+
<meta content=2012-09-06 name=DC.issued>
14+
<meta content="http://dev.w3.org/csswg/css3-break/" name=DC.creator>
15+
<meta content=W3C name=DC.publisher>
16+
<meta content="http://www.w3.org/TR/2012/ED-css3-break-20120906/"
17+
name=DC.identifier>
18+
<link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
19+
rel=DC.rights>
920
<link href="../default.css" rel=stylesheet type="text/css">
1021
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet
11-
type="text/css">
22+
type="text/css">
1223

1324
<body>
1425
<div class=head> <!--begin-logo-->
@@ -17,11 +28,12 @@
1728

1829
<h1 id=css-fragmentation-module>CSS Fragmentation Module Level 3</h1>
1930

20-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 August 2012</h2>
31+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 6 September
32+
2012</h2>
2133

2234
<dl>
2335
<dt>This version:</dt>
24-
<!--<dd><a href="http://www.w3.org/TR/2012/ED-css3-break-20120828/">http://www.w3.org/TR/2012/WD-css3-break-20120828/</a></dd>-->
36+
<!--<dd><a href="http://www.w3.org/TR/2012/ED-css3-break-20120906/">http://www.w3.org/TR/2012/WD-css3-break-20120906/</a></dd>-->
2537

2638
<dd><a
2739
href="http://dev.w3.org/csswg/css3-break/">http://dev.w3.org/csswg/css3-break/</a>
@@ -552,7 +564,6 @@ <h3 id=break-properties><span class=secno>3.1. </span> Forced breaks and
552564
<dd> Force one or two page breaks before/after the principal box so that
553565
the next page is formatted as either a left page or a right page,
554566
whichever is second (according to the page progression) in a page spread.
555-
556567

557568
<dt><code class=css>verso</code>
558569

@@ -1008,7 +1019,7 @@ <h3 id=best-breaks><span class=secno>4.5. </span> Optimizing Unforced
10081019
class=css>orphans : 4</code>’, ‘<code class=css>widows : 2</code>’,
10091020
and there is space for 20 lines (line boxes) available at the bottom of
10101021
the current page, and the next block in normal flow is considered for
1011-
placement:</p>
1022+
placement:
10121023

10131024
<ul>
10141025
<li> If the block contains 20 line boxes or fewer, it should be placed on
@@ -1031,7 +1042,7 @@ <h3 id=best-breaks><span class=secno>4.5. </span> Optimizing Unforced
10311042
class=property>orphans</code></a>’ is ‘<code class=css>10</code>’,
10321043
<a href="#widows"><code class=property>widows</code></a>’ is
10331044
<code class=css>20</code>’, and there are 8 lines available at the
1034-
bottom of the current page:</p>
1045+
bottom of the current page:
10351046

10361047
<ul>
10371048
<li> If the block contains 8 lines or fewer, it should be placed on the
@@ -1074,12 +1085,11 @@ <h3 id=varying-size-boxes><span class=secno>5.1. </span> Breaking into
10741085

10751086
<li> Fragments of boxes that began on a previous fragmentainer must obey
10761087
placement rules with the additional constraint that fragments must not be
1077-
positioned above the before edge of the fragmentainer and must otherwise
1078-
be placed as high as possible while not violating other constraints. If
1079-
this results in a box's continuation fragment shifting away from the
1080-
before edge of the fragmentainer, then ‘<code
1081-
class=css>box-decoration-break: clone</code>’, if specified, wraps the
1082-
fragment with the box's margin in addition to its padding and border.
1088+
positioned above the before edge of the fragmentainer. If this results in
1089+
a box's continuation fragment shifting away from the before edge of the
1090+
fragmentainer, then ‘<code class=css>box-decoration-break:
1091+
clone</code>’, if specified, wraps the fragment with the box's margin
1092+
in addition to its padding and border.
10831093
<div class=figure>
10841094
<pre>First page
10851095
<!-- -->+----------------------------------+
@@ -1204,7 +1214,7 @@ <h3 id=break-decoration><span class=secno>5.3. </span> Splitting Boxes at
12041214
<p class=caption> The diagrams below illustrate the differences between
12051215
fragmented boxes in the first category (gapping across the remaining
12061216
fragmentainer extent) and those in the second (filling the remaining
1207-
fragmentainer extent).</p>
1217+
fragmentainer extent).
12081218

12091219
<pre>
12101220
slice clone
@@ -1262,7 +1272,7 @@ <h3 id=conventions><span class=secno>6.1. </span> Document Conventions</h3>
12621272
<code>class="example"</code>, like this:
12631273

12641274
<div class=example>
1265-
<p>This is an example of an informative example.</p>
1275+
<p>This is an example of an informative example.
12661276
</div>
12671277

12681278
<p> Informative notes begin with the word “Note” and are set apart from
@@ -1468,7 +1478,7 @@ <h3 class=no-num id=normative-references>Normative references</h3>
14681478
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 7 June
14691479
2011. W3C Recommendation. URL: <a
14701480
href="http://www.w3.org/TR/2011/REC-CSS2-20110607">http://www.w3.org/TR/2011/REC-CSS2-20110607</a>
1471-
</dd>
1481+
</dd>
14721482
<!---->
14731483

14741484
<dt id=CSS3-REGIONS>[CSS3-REGIONS]
@@ -1478,7 +1488,7 @@ <h3 class=no-num id=normative-references>Normative references</h3>
14781488
Regions Module Level 3.</cite></a> 23 August 2012. W3C Working Draft.
14791489
(Work in progress.) URL: <a
14801490
href="http://www.w3.org/TR/2012/WD-css3-regions-20120823/">http://www.w3.org/TR/2012/WD-css3-regions-20120823/</a>
1481-
</dd>
1491+
</dd>
14821492
<!---->
14831493

14841494
<dt id=CSS3BG>[CSS3BG]
@@ -1488,7 +1498,7 @@ <h3 class=no-num id=normative-references>Normative references</h3>
14881498
Backgrounds and Borders Module Level 3.</cite></a> 24 July 2012. W3C
14891499
Candidate Recommendation. (Work in progress.) URL: <a
14901500
href="http://www.w3.org/TR/2012/CR-css3-background-20120724/">http://www.w3.org/TR/2012/CR-css3-background-20120724/</a>
1491-
</dd>
1501+
</dd>
14921502
<!---->
14931503

14941504
<dt id=CSS3COL>[CSS3COL]
@@ -1498,7 +1508,7 @@ <h3 class=no-num id=normative-references>Normative references</h3>
14981508
Multi-column Layout Module.</cite></a> 12 April 2011. W3C Candidate
14991509
Recommendation. (Work in progress.) URL: <a
15001510
href="http://www.w3.org/TR/2011/CR-css3-multicol-20110412">http://www.w3.org/TR/2011/CR-css3-multicol-20110412</a>
1501-
</dd>
1511+
</dd>
15021512
<!---->
15031513

15041514
<dt id=CSS3PAGE>[CSS3PAGE]
@@ -1508,7 +1518,7 @@ <h3 class=no-num id=normative-references>Normative references</h3>
15081518
Paged Media.</cite></a> 10 October 2006. W3C Working Draft. (Work in
15091519
progress.) URL: <a
15101520
href="http://www.w3.org/TR/2006/WD-css3-page-20061010">http://www.w3.org/TR/2006/WD-css3-page-20061010</a>
1511-
</dd>
1521+
</dd>
15121522
<!---->
15131523

15141524
<dt id=RFC2119>[RFC2119]
@@ -1517,7 +1527,7 @@ <h3 class=no-num id=normative-references>Normative references</h3>
15171527
words for use in RFCs to Indicate Requirement Levels.</cite></a> Internet
15181528
RFC 2119. URL: <a
15191529
href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a>
1520-
</dd>
1530+
</dd>
15211531
<!---->
15221532
</dl>
15231533
<!--end-normative-->
@@ -1537,7 +1547,7 @@ <h3 class=no-num id=other-references>Other references</h3>
15371547
Writing Modes Module Level 3.</cite></a> 1 May 2012. W3C Working Draft.
15381548
(Work in progress.) URL: <a
15391549
href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20120501/">http://www.w3.org/TR/2012/WD-css3-writing-modes-20120501/</a>
1540-
</dd>
1550+
</dd>
15411551
<!---->
15421552

15431553
<dt id=CSS3COLOR>[CSS3COLOR]
@@ -1546,7 +1556,7 @@ <h3 class=no-num id=other-references>Other references</h3>
15461556
href="http://www.w3.org/TR/2011/REC-css3-color-20110607"><cite>CSS Color
15471557
Module Level 3.</cite></a> 7 June 2011. W3C Recommendation. URL: <a
15481558
href="http://www.w3.org/TR/2011/REC-css3-color-20110607">http://www.w3.org/TR/2011/REC-css3-color-20110607</a>
1549-
</dd>
1559+
</dd>
15501560
<!---->
15511561

15521562
<dt id=CSS3TEXT>[CSS3TEXT]
@@ -1556,7 +1566,7 @@ <h3 class=no-num id=other-references>Other references</h3>
15561566
Level 3.</cite></a> 14 August 2012. W3C Working Draft. (Work in
15571567
progress.) URL: <a
15581568
href="http://www.w3.org/TR/2012/WD-css3-text-20120814/">http://www.w3.org/TR/2012/WD-css3-text-20120814/</a>
1559-
</dd>
1569+
</dd>
15601570
<!---->
15611571
</dl>
15621572
<!--end-informative-->
@@ -1640,7 +1650,6 @@ <h2 class=no-num id=index>Index</h2>
16401650
title="remaining fragmentainer extent"><strong>2.</strong></a>
16411651

16421652
<li>renderer, <a href="#renderer" title=renderer><strong>6.2.</strong></a>
1643-
16441653

16451654
<li>spread break, <a href="#spread-break"
16461655
title="spread break"><strong>4.2.</strong></a>

css3-break/Overview.src.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -806,9 +806,8 @@ <h3 id="varying-size-boxes">
806806
<li>
807807
Fragments of boxes that began on a previous fragmentainer must obey
808808
placement rules with the additional constraint that fragments must
809-
not be positioned above the before edge of the fragmentainer and must
810-
otherwise be placed as high as possible while not violating other
811-
constraints. If this results in a box's continuation fragment
809+
not be positioned above the before edge of the fragmentainer.
810+
If this results in a box's continuation fragment
812811
shifting away from the before edge of the fragmentainer, then
813812
''box-decoration-break: clone'', if specified, wraps the fragment
814813
with the box's margin in addition to its padding and border.

0 commit comments

Comments
 (0)