Skip to content

Commit eee506f

Browse files
committed
Define page progression direction.
1 parent 1046dea commit eee506f

2 files changed

Lines changed: 69 additions & 5 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,12 @@ <h2 class="no-num no-toc" id=Contents>Table of Contents</h2>
263263
property</a>
264264
</ul>
265265

266-
<li><a href="#text-combine"><span class=secno>8. </span>Glyph Composition:
267-
the &lsquo;<code class=property>text-combine</code>&rsquo; property</a>
266+
<li><a href="#page-direction"><span class=secno>8. </span> Page Flow: the
267+
page progression direction</a>
268+
269+
<li><a href="#text-combine"><span class=secno>9. </span> Glyph
270+
Composition: the &lsquo;<code class=property>text-combine</code>&rsquo;
271+
property</a>
268272

269273
<li class=no-num><a href="#acknowledgements">Acknowledgements</a>
270274

@@ -923,7 +927,8 @@ <h2 id=vertical-intro><span class=secno>3. </span> Introduction to Vertical
923927
</div>
924928

925929
<p class=note>For Chinese and Japanese lines are ordered either right to
926-
left or top to bottom, while for Mongolian and Manchu left to right.
930+
left or top to bottom, while for Mongolian and Manchu lines are ordered
931+
left to right.
927932

928933
<p>The change from horizontal to vertical writing can affect not just the
929934
layout, but also the typesetting. For example, the position of a
@@ -2586,7 +2591,44 @@ <h4 id="spacing-attributes">Spacing Attributes</h4>
25862591
-->
25872592

25882593

2589-
<h2 id=text-combine><span class=secno>8. </span>Glyph Composition: the
2594+
<h2 id=page-direction><span class=secno>8. </span> Page Flow: the page
2595+
progression direction</h2>
2596+
2597+
<p>In paged media CSS2.1 classifies all pages as either left or right
2598+
pages. The page progression direction, which determines whether the left
2599+
or right page in a spread is first in the flow and whether the first page
2600+
is by default a left or right page, depends on the writing direction as
2601+
follows:
2602+
2603+
<ul>
2604+
<li>The page progression is right-to-left if the root element's &lsquo;<a
2605+
href="#writing-mode1"><code class=property>writing-mode</code></a>&rsquo;
2606+
is &lsquo;<a href="#vertical-rl"><code
2607+
class=css>vertical-rl</code></a>&rsquo; or if the root element's
2608+
&lsquo;<a href="#writing-mode1"><code
2609+
class=property>writing-mode</code></a>&rsquo; is &lsquo;<a
2610+
href="#horizontal-tb"><code class=css>horizontal-tb</code></a>&rsquo; and
2611+
its &lsquo;<a href="#direction0"><code
2612+
class=property>direction</code></a>&rsquo; is &lsquo;<a href="#rtl"><code
2613+
class=css>rtl</code></a>&rsquo;.
2614+
2615+
<li>The page progression is left-to-right if the root element's &lsquo;<a
2616+
href="#writing-mode1"><code class=property>writing-mode</code></a>&rsquo;
2617+
is &lsquo;<a href="#vertical-lr"><code
2618+
class=css>vertical-lr</code></a>&rsquo; or if the root element's
2619+
&lsquo;<a href="#writing-mode1"><code
2620+
class=property>writing-mode</code></a>&rsquo; is &lsquo;<a
2621+
href="#horizontal-tb"><code class=css>horizontal-tb</code></a>&rsquo; and
2622+
its &lsquo;<a href="#direction0"><code
2623+
class=property>direction</code></a>&rsquo; is &lsquo;<a href="#ltr"><code
2624+
class=css>ltr</code></a>&rsquo;.
2625+
</ul>
2626+
2627+
<p>(Unless otherwise overridden, the first page of a document begins on the
2628+
second half of a spread, e.g. on the right page in a left-to-right page
2629+
progression.)
2630+
2631+
<h2 id=text-combine><span class=secno>9. </span> Glyph Composition: the
25902632
&lsquo;<a href="#text-combine0"><code
25912633
class=property>text-combine</code></a>&rsquo; property</h2>
25922634

css3-writing-modes/Overview.src.html

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,29 @@ <h4 id="spacing-attributes">Spacing Attributes</h4>
19301930
</ul>
19311931
-->
19321932

1933-
<h2 id="text-combine">Glyph Composition: the 'text-combine' property</h2>
1933+
<h2 id="page-direction">
1934+
Page Flow: the page progression direction</h2>
1935+
1936+
<p>In paged media CSS2.1 classifies all pages as either left or right pages.
1937+
The page progression direction, which determines whether the left or right
1938+
page in a spread is first in the flow and whether the first page is by
1939+
default a left or right page, depends on the writing direction as follows:
1940+
1941+
<ul>
1942+
<li>The page progression is right-to-left if the root element's
1943+
'writing-mode' is ''vertical-rl'' or if the root element's 'writing-mode'
1944+
is ''horizontal-tb'' and its 'direction' is ''rtl''.
1945+
<li>The page progression is left-to-right if the root element's
1946+
'writing-mode' is ''vertical-lr'' or if the root element's 'writing-mode'
1947+
is ''horizontal-tb'' and its 'direction' is ''ltr''.
1948+
</ul>
1949+
1950+
<p>(Unless otherwise overridden, the first page of a document begins on the
1951+
second half of a spread, e.g. on the right page in a left-to-right page
1952+
progression.)
1953+
1954+
<h2 id="text-combine">
1955+
Glyph Composition: the 'text-combine' property</h2>
19341956

19351957
<table class="propdef">
19361958
<tbody>

0 commit comments

Comments
 (0)