Skip to content

Commit 8abd133

Browse files
author
howcome
committed
machine-generated version
1 parent 9a76437 commit 8abd133

1 file changed

Lines changed: 103 additions & 8 deletions

File tree

css-gcpm/Overview.html

Lines changed: 103 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<meta content="CSS Generated Content for Paged Media Module"
1212
name=dcterms.title>
1313
<meta content=text name=dcterms.type>
14-
<meta content=2013-07-06 name=dcterms.date>
14+
<meta content=2013-07-08 name=dcterms.date>
1515
<meta content="Håkon Wium Lie" name=dcterms.creator>
1616
<meta content=W3C name=dcterms.publisher>
1717
<meta content="http://dev.w3.org/csswg/css3-gcpm/" name=dcterms.identifier>
@@ -24,6 +24,15 @@
2424
.example { background: #ddd }
2525
body { line-height: 1.3 }
2626
.unimplemented { background: #fdd }
27+
28+
table.string-set-example { font-family: monospace; border-collapse: collapse }
29+
table.string-set-example div.pre {
30+
width: 12em; white-space: pre;
31+
}
32+
table.string-set-example td {
33+
padding: 0.3em;
34+
border: thin solid black
35+
}
2736
</style>
2837

2938
<body>
@@ -33,13 +42,13 @@
3342

3443
<h1>CSS Generated Content for Paged Media Module</h1>
3544

36-
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 6 July 2013</h2>
45+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 8 July 2013</h2>
3746

3847
<dl>
3948
<dt>This version:
4049

4150
<dd><a
42-
href="http://dev.w3.org/csswg/css3-gcpm/">http://www.w3.org/TR/2013/ED-css3-gcpm-20130706/</a>
51+
href="http://dev.w3.org/csswg/css3-gcpm/">http://www.w3.org/TR/2013/ED-css3-gcpm-20130708/</a>
4352

4453
<dt>Latest version:
4554

@@ -619,14 +628,17 @@ <h4 id=using-named-strings><span class=secno>2.1.2. </span>Using named
619628
<ul>
620629
<li><code class=css>first</code>’: the value of the first assignment
621630
on the page is used. If there is no assignment on the page, the named
622-
string's carryover value is used. This is the default value.
631+
string's entry value is used. The entry value is the value held by the
632+
string at the end of the previous page. ‘<code
633+
class=css>first</code>’ is the default value.
623634

624635
<li><code class=css>start</code>’: the value of the first assignment
625-
on the page is used if the element begins the page. Otherwise, the named
626-
string's carryover value is used.
636+
on the page is used if the element begins the page or the named string
637+
has not been assigned a value. Otherwise, the named string's entry value
638+
is used.
627639

628-
<li><code class=css>last</code>’: the named string's exit value for
629-
that page is used
640+
<li><code class=css>last</code>’: the named string's exit value is
641+
used
630642

631643
<li><code class=css>first-except</code>’: similar to ‘<code
632644
class=css>first</code>’, except on the page where the value was
@@ -654,6 +666,89 @@ <h4 id=using-named-strings><span class=secno>2.1.2. </span>Using named
654666
</pre>
655667
</div>
656668

669+
<div class=example>
670+
<p>Given this CSS code:
671+
672+
<pre>
673+
h2 { string-set: header content }
674+
</pre>
675+
676+
<p>The value of the "header" string
677+
678+
<table class=string-set-example>
679+
<tbody>
680+
<tr>
681+
<td>page#
682+
683+
<td>HTML code
684+
685+
<td>first
686+
687+
<td>start
688+
689+
<td>last
690+
691+
<td>first-except
692+
693+
<tr>
694+
<td>1
695+
696+
<td>
697+
<div class=pre>&lt;h1>Continents&lt;/h1> ... &lt;h2>Africa&lt;/h2> ...
698+
...</div>
699+
700+
<td>Africa
701+
702+
<td>Africa
703+
704+
<td>Africa
705+
706+
<td>
707+
708+
<tr>
709+
<td>2
710+
711+
<td>
712+
<div class=pre>... &lt;h2>Americas&lt;/h2> ... &lt;h2>Asia&lt;/h2> ...</div>
713+
714+
<td>Americas
715+
716+
<td>Africa
717+
718+
<td>Asia
719+
720+
<td>
721+
722+
<tr>
723+
<td>3
724+
725+
<td>
726+
<div class=pre>... ... ... ...</div>
727+
728+
<td>Asia
729+
730+
<td>Asia
731+
732+
<td>Asia
733+
734+
<td>Asia
735+
736+
<tr>
737+
<td>4
738+
739+
<td>
740+
<div class=pre>&lt;h2>Europe&lt;/h2> ... &lt;h2>Oceania&lt;/h2> ..</div>
741+
742+
<td>Europe
743+
744+
<td>Europe
745+
746+
<td>Oceania
747+
748+
<td>
749+
</table>
750+
</div>
751+
657752
<div class=example>
658753
<p>In this example, the term that is being described at the start of the
659754
page is shown in the top left header.

0 commit comments

Comments
 (0)