You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>In many cases, the specified values on these properties cannot be honored.
3170
-
3171
-
<divclass=example>The number of columns is limited, and high values therefore cannot be honored:
3172
-
<pre>
3173
-
.figure { float: top; float-defer-column: 1000 }
3174
-
</pre>
3175
-
</div>
3176
-
3177
-
<divclass=example>A narrow screen may only have room for one column, in which case this request cannot be honored:
3178
-
<pre>
3179
-
.figure { float: top; float-defer-column: -5 }
3180
-
</pre>
3181
-
</div>
3182
-
3183
-
<divclass=example>In long documents, all content cannot fit on the last page, and this rule therefore cannot be honored:
3184
-
<pre>
3185
-
p { float: top; float-defer-page: last }
3186
-
</pre>
3187
-
</div>
3188
-
3189
-
<p>Page floats are processed in the order they appear in the source. However, the visual order of page floats may not ne the same as the source order.
3190
-
3191
-
<divclass=example>Consider this code:
3192
-
3193
-
<pre>
3194
-
.one { float: top; float-defer-page: last; column-span: all }
3195
-
.two { float: top; clear: column }
3196
-
3197
-
<div class=one></div>
3198
-
<div class=two></div>
3199
-
</pre>
3200
-
3201
-
<p>In this example, the first element requests to appear on the last page, while the second element requests to appear in the natural column. If the natural column of the second element appears on a page before the last page, the second element will appear visually before the first.
3202
-
3203
-
</div>
3204
-
3205
-
3206
-
<divclass=example>Consider this code:
3207
-
3208
-
<pre>
3209
-
.one { float: top; float-defer-page: last; column-span: all }
3210
-
.two { float: top; clear: column }
3211
-
3212
-
<div class=one></div>
3213
-
<div class=two></div>
3214
-
</pre>
3215
-
3216
-
<p>If all content can fit on one page, the first page will also be the last page. The first element is processed first and is placed on top of the first page. Then the second element is processed. It reqests a clear top, somthing which is not possible on the first page. Therefore, a second page is created and the first element is moved there. Even if the first element requests to be on the last page, it will not appear there.
3217
-
</div>
3218
-
3219
-
<p>When resolving over-constrained layouts, the order of importance for defined goals are:
<li>display all content (as described by other CSS properties)
3229
-
<li>keep the number of pages to a minimum
3230
-
</ol>
3231
3167
3232
3168
3233
3169
<h3>Floating inside and outside pages</h3>
@@ -3517,10 +3453,75 @@ <h2>Page and column floats, alternative syntax</h2>
3517
3453
3518
3454
-->
3519
3455
3456
+
<h3>Overconstrained page floats</h3>
3457
+
3458
+
<p>In many cases, the specified values on these properties cannot be honored.
3459
+
3460
+
<divclass=example>The number of columns is limited, and high values therefore cannot be honored:
3461
+
<pre>
3462
+
.figure { float: top; float-defer-column: 1000 }
3463
+
</pre>
3464
+
</div>
3465
+
3466
+
<divclass=example>A narrow screen may only have room for one column, in which case this request cannot be honored:
3467
+
<pre>
3468
+
.figure { float: top; float-defer-column: -5 }
3469
+
</pre>
3470
+
</div>
3471
+
3472
+
<divclass=example>In long documents, all content cannot fit on the last page, and this rule therefore cannot be honored:
3473
+
<pre>
3474
+
p { float: top; float-defer-page: last }
3475
+
</pre>
3476
+
</div>
3477
+
3478
+
<p>Page floats are processed in the order they appear in the source. However, the visual order of page floats may not ne the same as the source order.
3479
+
3480
+
<divclass=example>Consider this code:
3481
+
3482
+
<pre>
3483
+
.one { float: top; float-defer-page: last; column-span: all }
3484
+
.two { float: top; clear: column }
3485
+
3486
+
<div class=one></div>
3487
+
<div class=two></div>
3488
+
</pre>
3489
+
3490
+
<p>In this example, the first element requests to appear on the last page, while the second element requests to appear in the natural column. If the natural column of the second element appears on a page before the last page, the second element will appear visually before the first.
3491
+
3492
+
</div>
3493
+
3494
+
3495
+
<divclass=example>Consider this code:
3496
+
3497
+
<pre>
3498
+
.one { float: top; float-defer-page: last; column-span: all }
3499
+
.two { float: top; clear: column }
3500
+
3501
+
<div class=one></div>
3502
+
<div class=two></div>
3503
+
</pre>
3504
+
3505
+
<p>If all content can fit on one page, the first page will also be the last page. The first element is processed first and is placed on top of the first page. Then the second element is processed. It reqests a clear top, somthing which is not possible on the first page. Therefore, a second page is created and the first element is moved there. Even if the first element requests to be on the last page, it will not appear there.
3506
+
</div>
3507
+
3508
+
<p>When resolving over-constrained layouts, the order of importance for defined goals are:
<li>display all content (as described by other CSS properties)
3518
+
<li>keep the number of pages to a minimum
3519
+
</ol>
3520
+
3520
3521
3521
3522
<h2>Selecting columns and pages</h2>
3522
3523
3523
-
<h3>Selecting named pages</h3>
3524
+
<h3>Selecting certain named pages</h3>
3524
3525
3525
3526
<p>In CSS2, <ahref="http://www.w3.org/TR/CSS2/page.html#page-selectors">first, left and right pages</a> can be selected. This specification exte adds selector grammar from <ahref="http://www.w3.org/TR/css3-selectors/#nth-child-pseudo"></a>.
0 commit comments