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
The <spanclass=cssdata-link-type=maybetitle=running()>running()</span> value
123
-
</a><li><ahref=#alternative-syntax-running><spanclass=secno>1.2.2</span>Alternative Proposal from Bert Bos</a><li><ahref=#element-syntax><spanclass=secno>1.2.3</span>
<h4class="heading settled heading" data-level=1.2.2id=alternative-syntax-running><spanclass=secno>1.2.2 </span><spanclass=content>Alternative Proposal from Bert Bos</span><aclass=self-linkhref=#alternative-syntax-running></a></h4>
361
+
362
+
363
+
364
+
<divclass=example>
365
+
366
+
<p>HTML:
367
+
<pre><p class="rh"><i>Miranda v. Arizona</i> in Context</p>
368
+
<h2><i>Miranda v. Arizona</i> in Context</h2>
369
+
</pre>
370
+
<p>CSS:
371
+
<pre> @top-center {
372
+
content: element(heading);
373
+
}
374
+
375
+
p.rh {
376
+
position: running(heading);
377
+
}
378
+
379
+
p.rh::before {
380
+
content: counter(page) ' / ';
381
+
}
382
+
</pre>
383
+
384
+
385
+
<figure>
386
+
387
+
388
+
<p><imgalt="running header using running elements" src=running-element-gcpm_Page_1.jpgwidth=480>
389
+
</p><figcaption>Running element in page margin box</figcaption>
390
+
</figure>
391
+
</div>
392
+
393
+
394
+
395
+
<pclass=note>The element <spanclass=cssdata-link-type=maybetitle=value()>value()</span> can only be used in page margin boxes. And it cannot be combined with other possible values for the content property.</p>
<p>This idea would be much more useful if we could also copy (rather than just move) elements. That would avoid the duplication of HTML in the example above.
398
+
</p>
399
+
362
400
363
401
<p>Bert Bos has proposed an alternative syntax, which allows both moving and copying elements into running heads. In the example below, h2 elements appear in their normal place in the document, but are also copied into running heads.
<preclass=prod><dfnclass=css-codedata-dfn-type=functiondata-export="" id=funcdef-element>element()<aclass=self-linkhref=#funcdef-element></a></dfn> = string( <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#identifier-valuetitle="<custom-ident>"><custom-ident></a> [ , [ first | start | last | first-except] ]? )
403
441
</pre>
404
-
405
-
<divclass=example>
406
-
407
-
<p>HTML:
408
-
<pre><p class="rh"><i>Miranda v. Arizona</i> in Context</p>
409
-
<h2><i>Miranda v. Arizona</i> in Context</h2>
410
-
</pre>
411
-
<p>CSS:
412
-
<pre> @top-center {
413
-
content: element(heading);
414
-
}
415
-
416
-
p.rh {
417
-
position: running(heading);
418
-
}
419
-
420
-
p.rh::before {
421
-
content: counter(page) ' / ';
422
-
}
423
-
</pre>
424
-
<figure>
425
-
426
-
427
-
<p><imgalt="running header using running elements" src=running-element-gcpm_Page_1.jpgwidth=480>
428
-
</p><figcaption>Running element in page margin box</figcaption>
429
-
</figure>
430
-
</div>
431
-
432
-
433
-
434
-
<pclass=note>The element <spanclass=cssdata-link-type=maybetitle=value()>value()</span> can only be used in page margin boxes. And it cannot be combined with other possible values for the content property.</p>
435
-
436
-
<pclass=issueid=issue-90b2f97a><aclass=self-linkhref=#issue-90b2f97a></a>This idea would be much more useful if we could also copy (rather than just move) elements. That would avoid the duplication of HTML in the example above.</p>
<h4class="heading settled heading" data-level=2.4.1id=footnote-area-position><spanclass=secno>2.4.1 </span><spanclass=content>Positioning of the footnote area</span><aclass=self-linkhref=#footnote-area-position></a></h4>
543
547
The bottom margin edge of the footnote area is positioned so that it touches the bottom of the page area. The footnote area can only contain footnotes.
544
548
549
+
550
+
<pclass=issueid=issue-ab22b570><aclass=self-linkhref=#issue-ab22b570></a>How do footnotes work in multi-column text? Prince uses <code>float: prince-column-footnote</code> to create a footnote at the bottom of a column rather than the bottom of a page.</p>
551
+
545
552
<pclass=issueid=issue-165f8769><aclass=self-linkhref=#issue-165f8769></a>Implementations that support footnotes generally support page floats like <code>float: bottom</code>. Page floats should end up above the footnote area. How might this be specified?</p>
546
553
554
+
555
+
547
556
<h4class="heading settled heading" data-level=2.4.2id=footnote-area-size><spanclass=secno>2.4.2 </span><spanclass=content>Size of the footnote area</span><aclass=self-linkhref=#footnote-area-size></a></h4>
548
557
549
558
<p>The <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/CSS21/visudet.html#propdef-max-heighttitle=max-height>max-height</a> property on the footnote area limits the
1783
size of this area, unless the page contains only footnotes (as may happen on the last page of a document).
<divdata-fill-with=informative-references><dl><dtid=css21title=CSS21><aclass=self-linkhref=#css21></a>[CSS21]<dd>Bert Bos; et al. <ahref=http://www.w3.org/TR/2011/REC-CSS2-20110607>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. W3C Recommendation. URL: <ahref=http://www.w3.org/TR/2011/REC-CSS2-20110607>http://www.w3.org/TR/2011/REC-CSS2-20110607</a><dtid=css3colortitle=CSS3COLOR><aclass=self-linkhref=#css3color></a>[CSS3COLOR]<dd>Tantek Çelik; Chris Lilley; L. David Baron. <ahref=http://www.w3.org/TR/2011/REC-css3-color-20110607>CSS Color Module Level 3</a>. 7 June 2011. W3C Recommendation. URL: <ahref=http://www.w3.org/TR/2011/REC-css3-color-20110607>http://www.w3.org/TR/2011/REC-css3-color-20110607</a><dtid=css3listtitle=CSS3LIST><aclass=self-linkhref=#css3list></a>[CSS3LIST]<dd>Tab Atkins Jr.. <ahref=http://www.w3.org/TR/2011/WD-css3-lists-20110524>CSS Lists and Counters Module Level 3</a>. 24 May 2011. W3C Working Draft. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2011/WD-css3-lists-20110524>http://www.w3.org/TR/2011/WD-css3-lists-20110524</a><dtid=css3pagetitle=CSS3PAGE><aclass=self-linkhref=#css3page></a>[CSS3PAGE]<dd>Melinda Grant; et al. <ahref=http://www.w3.org/TR/2013/WD-css3-page-20130314/>CSS Paged Media Module Level 3</a>. 14 March 2013. W3C Working Draft. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2013/WD-css3-page-20130314/>http://www.w3.org/TR/2013/WD-css3-page-20130314/</a><dtid=css3syntitle=CSS3SYN><aclass=self-linkhref=#css3syn></a>[CSS3SYN]<dd>L. David Baron. <ahref=http://www.w3.org/TR/2003/WD-css3-syntax-20030813>CSS3 module: Syntax</a>. 13 August 2003. W3C Working Draft. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2003/WD-css3-syntax-20030813>http://www.w3.org/TR/2003/WD-css3-syntax-20030813</a><dtid=css3valtitle=CSS3VAL><aclass=self-linkhref=#css3val></a>[CSS3VAL]<dd>Håkon Wium Lie; Tab Atkins; Elika J. Etemad. <ahref=http://www.w3.org/TR/2013/CR-css3-values-20130730/>CSS Values and Units Module Level 3</a>. 30 July 2013. W3C Candidate Recommendation. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2013/CR-css3-values-20130730/>http://www.w3.org/TR/2013/CR-css3-values-20130730/</a><dtid=dpub-latinreqtitle=dpub-latinreq><aclass=self-linkhref=#dpub-latinreq></a>[dpub-latinreq]<dd>Dave Cramer. <ahref=http://www.w3.org/TR/2014/WD-dpub-latinreq/>Requirements for Latin Text Layout and Pagination</a>. FPWD. URL: <ahref=http://www.w3.org/TR/2014/WD-dpub-latinreq/>http://www.w3.org/TR/2014/WD-dpub-latinreq/</a></dl></div>
1269
+
<divdata-fill-with=informative-references><dl><dtid=css21title=CSS21><aclass=self-linkhref=#css21></a>[CSS21]<dd>Bert Bos; et al. <ahref=http://www.w3.org/TR/2011/REC-CSS2-20110607>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. W3C Recommendation. URL: <ahref=http://www.w3.org/TR/2011/REC-CSS2-20110607>http://www.w3.org/TR/2011/REC-CSS2-20110607</a><dtid=css3colortitle=CSS3COLOR><aclass=self-linkhref=#css3color></a>[CSS3COLOR]<dd>Tantek Çelik; Chris Lilley; L. David Baron. <ahref=http://www.w3.org/TR/2011/REC-css3-color-20110607>CSS Color Module Level 3</a>. 7 June 2011. W3C Recommendation. URL: <ahref=http://www.w3.org/TR/2011/REC-css3-color-20110607>http://www.w3.org/TR/2011/REC-css3-color-20110607</a><dtid=css3listtitle=CSS3LIST><aclass=self-linkhref=#css3list></a>[CSS3LIST]<dd>Tab Atkins Jr.. <ahref=http://www.w3.org/TR/2011/WD-css3-lists-20110524>CSS Lists and Counters Module Level 3</a>. 24 May 2011. W3C Working Draft. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2011/WD-css3-lists-20110524>http://www.w3.org/TR/2011/WD-css3-lists-20110524</a><dtid=css3pagetitle=CSS3PAGE><aclass=self-linkhref=#css3page></a>[CSS3PAGE]<dd>Melinda Grant; et al. <ahref=http://www.w3.org/TR/2013/WD-css3-page-20130314/>CSS Paged Media Module Level 3</a>. 14 March 2013. W3C Working Draft. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2013/WD-css3-page-20130314/>http://www.w3.org/TR/2013/WD-css3-page-20130314/</a><dtid=css3syntitle=CSS3SYN><aclass=self-linkhref=#css3syn></a>[CSS3SYN]<dd>Tab Atkins Jr.; Simon Sapin. <ahref=http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/>CSS Syntax Module</a>. 5 November 2013. W3C Working Draft. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/>http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/</a><dtid=css3valtitle=CSS3VAL><aclass=self-linkhref=#css3val></a>[CSS3VAL]<dd>Håkon Wium Lie; Tab Atkins; Elika J. Etemad. <ahref=http://www.w3.org/TR/2013/CR-css3-values-20130730/>CSS Values and Units Module Level 3</a>. 30 July 2013. W3C Candidate Recommendation. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2013/CR-css3-values-20130730/>http://www.w3.org/TR/2013/CR-css3-values-20130730/</a><dtid=dpub-latinreqtitle=dpub-latinreq><aclass=self-linkhref=#dpub-latinreq></a>[dpub-latinreq]<dd>Dave Cramer. <ahref=http://www.w3.org/TR/2014/WD-dpub-latinreq/>Requirements for Latin Text Layout and Pagination</a>. FPWD. URL: <ahref=http://www.w3.org/TR/2014/WD-dpub-latinreq/>http://www.w3.org/TR/2014/WD-dpub-latinreq/</a></dl></div>
<h2class="no-num heading settled" id=issues-index><spanclass=content>Issues Index</span><aclass=self-linkhref=#issues-index></a></h2><divstyle="counter-reset: issue"><divclass=issue>This idea would be much more useful if we could also copy (rather than just move) elements. That would avoid the duplication of HTML in the example above.<ahref=#issue-90b2f97a> ↵ </a></div>
<p>This idea would be much more useful if we could also copy (rather than just move) elements. That would avoid the duplication of HTML in the example above.
1322
+
</p>
1323
+
1324
+
1325
+
<p>Bert Bos has proposed an alternative syntax, which allows both moving and copying elements into running heads. In the example below, h2 elements appear in their normal place in the document, but are also copied into running heads.
<divclass=issue>Why is float:bottom used with the footnote area? Floating footnotes to the footnote area, and then floating the footnote area itself, seems overly complex, given that implementations don’t allow the footnote area to float anywhere else. Note that some implementations do allow the footnote area to be absolutely positioned.<ahref=#issue-4af1f674> ↵ </a></div>
1314
1356
<divclass=issue>How would one describe this in the grammar of CSS3-Page?<ahref=#issue-829ce977> ↵ </a></div>
<divclass=issue>How do footnotes work in multi-column text? Prince uses <code>float: prince-column-footnote</code> to create a footnote at the bottom of a column rather than the bottom of a page.<ahref=#issue-ab22b570> ↵ </a></div>
1364
+
1321
1365
<divclass=issue>Implementations that support footnotes generally support page floats like <code>float: bottom</code>. Page floats should end up above the footnote area. How might this be specified?<ahref=#issue-165f8769> ↵ </a></div>
1322
1366
1367
+
1368
+
1323
1369
<divclass=issue>We need an algorithm for laying out footnotes<ahref=#issue-da883bb8> ↵ </a></div>
0 commit comments