Skip to content

Commit f0db16f

Browse files
committed
make 'best' page breaks rules match reality
1 parent 27acf51 commit f0db16f

2 files changed

Lines changed: 7 additions & 17 deletions

File tree

css3-page/Overview.html

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@
8787

8888
<h1 id=css-paged>CSS Paged Media Module Level 3</h1>
8989

90-
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 19 June 2008</h2>
90+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 20 June 2008</h2>
9191

9292
<dl>
9393
<dt>This version:
9494

9595
<dd><a
9696
href="http://dev.w3.org/csswg/css3-page/">http://dev.w3.org/csswg/css3-page/</a></dd>
97-
<!-- <dd><a href="http://www.w3.org/TR/2008/ED-css3-page-20080619">http://www.w3.org/TR/2008/WD-css3-page-20080619</a></dd> -->
97+
<!-- <dd><a href="http://www.w3.org/TR/2008/ED-css3-page-20080620">http://www.w3.org/TR/2008/WD-css3-page-20080620</a></dd> -->
9898

9999
<dt>Latest version:
100100

@@ -179,7 +179,7 @@ <h2 class="no-num no-toc" id=status>Status of this Document</h2>
179179
<!--end-status-->
180180
<p>This document contains the <abbr title="Cascading Style
181181
Sheets">CSS3</abbr> Paged Media Module W3C Last Call <a
182-
href="/2005/10/Process-20051014/tr.html#RecsWD">Working Draft</a> of 19
182+
href="/2005/10/Process-20051014/tr.html#RecsWD">Working Draft</a> of 20
183183
June 2008. The Last Call period ends on <span class=fudge>TBD</span>.</p>
184184

185185
<p>Relative to the previous Last Call Working Draft, this version
@@ -2745,7 +2745,7 @@ <h3 id=allowed-pg-brk><span class=secno>9.4 </span>Allowed page breaks</h3>
27452745
overflowing the page boxes, then rules A, B and D are dropped in order
27462746
to find additional breakpoints. In this case the UA may use the
27472747
&lsquo;<span class=property>avoid</span>&rsquo;s that are in effect at
2748-
those points to weight the appropriateness of the new breakpoints;
2748+
those points to weigh the appropriateness of the new breakpoints;
27492749
however, this specification does not suggest a precise algorithm.</p>
27502750

27512751
<p>If that still does not lead to sufficient break points, rule C is
@@ -2795,15 +2795,9 @@ <h3 id=best-pg-brk><span class=secno>9.6 </span>"Best" page breaks</h3>
27952795
<li>Make all pages that don't end with a forced break appear to have
27962796
about the same height.
27972797

2798-
<li>Avoid breaking inside a block that has a border.
2799-
2800-
<li>Avoid breaking inside a table.
2801-
2802-
<li>Avoid breaking inside a floated element.
2798+
<li>Avoid breaking inside a replaced element.
28032799
</ul>
28042800

2805-
<p class=issue>These last three rules probably need to be removed.</p>
2806-
28072801
<div class=example>
28082802
<p>Suppose, for example, that the style sheet contains <span
28092803
class=css>&lsquo;<code class=css>orphans : 4</code>&rsquo;</span>,

css3-page/Overview.src.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ <h3 id="allowed-pg-brk">Allowed page breaks</h3>
19511951
<p>If the above doesn't provide enough break points to keep content from
19521952
overflowing the page boxes, then rules A, B and D are dropped in order to find
19531953
additional breakpoints. In this case the UA may use the 'avoid's that are in
1954-
effect at those points to weight the appropriateness of the new breakpoints;
1954+
effect at those points to weigh the appropriateness of the new breakpoints;
19551955
however, this specification does not suggest a precise algorithm.</p>
19561956

19571957
<p>If that still does not lead to sufficient break points, rule C is dropped as
@@ -1988,13 +1988,9 @@ <h3 id="best-pg-brk">"Best" page breaks</h3>
19881988
<li>Break as few times as possible.</li>
19891989
<li>Make all pages that don't end with a forced break appear to have about the
19901990
same height.</li>
1991-
<li>Avoid breaking inside a block that has a border.</li>
1992-
<li>Avoid breaking inside a table.</li>
1993-
<li>Avoid breaking inside a floated element.</li>
1991+
<li>Avoid breaking inside a replaced element.</li>
19941992
</ul>
19951993

1996-
<p class="issue">These last three rules probably need to be removed.</p>
1997-
19981994
<div class="example">
19991995

20001996
<p>Suppose, for example, that the style sheet contains <span class="css">'orphans

0 commit comments

Comments
 (0)