Skip to content

Commit e9d0bd7

Browse files
committed
Some editorial tweaks per jdaggett
1 parent 7ceab27 commit e9d0bd7

2 files changed

Lines changed: 115 additions & 93 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 75 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929

3030
<h1>CSS Writing Modes Module Level 3</h1>
3131

32-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 May 2011</h2>
32+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 31 May 2011</h2>
3333

3434
<dl>
3535
<dt>This version:
3636

3737
<dd><a
3838
href="http://dev.w3.org/csswg/css3-writing-modes/">http://dev.w3.org/csswg/css3-writing-modes/</a>
3939
<!--
40-
<dd><a href="http://www.w3.org/TR/2011/WD-css3-writing-modes-20110525">http://www.w3.org/TR/2011/ED-css3-writing-modes-20110525/</a>
40+
<dd><a href="http://www.w3.org/TR/2011/WD-css3-writing-modes-20110531">http://www.w3.org/TR/2011/ED-css3-writing-modes-20110531/</a>
4141
-->
4242

4343

@@ -177,6 +177,11 @@ <h2 class="no-num no-toc" id=Contents> Table of Contents</h2>
177177
<li><a href="#writing-mode"><span class=secno>3.1. </span> Block Flow
178178
Direction: the &lsquo;<code class=property>writing-mode</code>&rsquo;
179179
property</a>
180+
<ul class=toc>
181+
<li><a href="#svg-writing-mode"><span class=secno>3.1.1. </span>
182+
SVG1.1 &lsquo;<code class=property>writing-mode</code>&rsquo;
183+
Values</a>
184+
</ul>
180185
</ul>
181186

182187
<li><a href="#inline-alignment"><span class=secno>4. </span> Inline-level
@@ -200,7 +205,7 @@ <h2 class="no-num no-toc" id=Contents> Table of Contents</h2>
200205
</ul>
201206

202207
<li><a href="#intro-text-layout"><span class=secno>5. </span> Introduction
203-
to Intrinsic Text Layout</a>
208+
to Vertical Text Layout</a>
204209
<ul class=toc>
205210
<li><a href="#text-orientation"><span class=secno>5.1. </span> Orienting
206211
Text: the &lsquo;<code class=property>text-orientation</code>&rsquo;
@@ -376,7 +381,7 @@ <h2 id=text-flow><span class=secno>1. </span> Introduction to Writing Modes</h2>
376381
id=vertical-block-flow>vertical block flow</dfn> (which is a downward or
377382
upward block flow) and <dfn id=horizontal-block-flow>horizontal block
378383
flow</dfn> (which is leftward or rightward block flow). To avoid
379-
confusion, the CSS specifications avoid this latter set of terms.
384+
confusion, CSS specifications avoid this latter set of terms.
380385

381386
<p>Writing systems typically have one or two native writing modes. Some
382387
examples are:
@@ -932,6 +937,8 @@ <h3 id=bidi-box-model><span class=secno>2.4. </span> Box model for inline
932937
<h2 id=vertical-intro><span class=secno>3. </span> Introduction to Vertical
933938
Text</h2>
934939

940+
<p><em>This subsection is non-normative.</em>
941+
935942
<p>In addition to extensions to CSS2.1&rsquo;s support for bidirectional
936943
text, this module introduces the rules and properties needed to support
937944
vertical text layout in CSS.
@@ -1071,59 +1078,6 @@ <h3 id=writing-mode><span class=secno>3.1. </span> Block Flow Direction:
10711078
<dd>Left-to-right block flow. The writing mode is vertical.
10721079
</dl>
10731080

1074-
<p>SVG1.1 <a href="#SVG11" rel=biblioentry>[SVG11]<!--{{!SVG11}}--></a>
1075-
defines some additional values: &lsquo;<code class=css>lr</code>&rsquo;,
1076-
&lsquo;<code class=css>lr-tb</code>&rsquo;, &lsquo;<code
1077-
class=css>rl</code>&rsquo;, &lsquo;<code class=css>rl-tb</code>&rsquo;,
1078-
&lsquo;<code class=css>tb</code>&rsquo;, and &lsquo;<code
1079-
class=css>tb-rl</code>&rsquo;. These values are <em>deprecated</em> in any
1080-
context except SVG1 documents. Implementations that wish to support them
1081-
in the context of CSS must treat these values as follows:
1082-
1083-
<table class=data>
1084-
<thead>
1085-
<tr>
1086-
<th>SVG1
1087-
1088-
<th>CSS
1089-
1090-
<tbody>
1091-
<tr>
1092-
<td>lr
1093-
1094-
<td rowspan=3>horizontal-tb
1095-
1096-
<tr>
1097-
<td>lr-tb
1098-
1099-
<tr>
1100-
<td>rl
1101-
1102-
<tr>
1103-
<td>tb
1104-
1105-
<td rowspan=2>vertical-rl
1106-
1107-
<tr>
1108-
<td>tb-rl
1109-
</table>
1110-
1111-
<p class=note>In SVG1.1, these values set the <dfn
1112-
id=inline-progression-direction>inline progression direction</dfn>, in
1113-
other words, the direction the current text position advances each time a
1114-
glyph is added. This is a geometric process that happens <a
1115-
href="#after"><em>after</em></a> bidi reordering, and thus has no effect
1116-
on the interpretation of the &lsquo;<a href="#direction0"><code
1117-
class=property>direction</code></a>&rsquo; property (which is independent
1118-
of &lsquo;<a href="#writing-mode1"><code
1119-
class=property>writing-mode</code></a>&rsquo;). (See <a
1120-
href="http://www.w3.org/TR/SVG/text.html#RelationshipWithBiDirectionality">Relationship
1121-
with bidirectionality</a>. <a href="#SVG11"
1122-
rel=biblioentry>[SVG11]<!--{{!SVG11}}--></a>) There are varying
1123-
interpretations on whether this process causes "writing-mode: rl" to
1124-
merely shift the text string or reverse the order of all glyphs in the
1125-
text.
1126-
11271081
<p>The &lsquo;<a href="#writing-mode1"><code
11281082
class=property>writing-mode</code></a>&rsquo; property determines the
11291083
direction of block flow. This determines the progression of block-level
@@ -1206,6 +1160,64 @@ <h3 id=writing-mode><span class=secno>3.1. </span> Block Flow Direction:
12061160
src=vertical-lr.png width=300></p>
12071161
</div>
12081162

1163+
<h4 id=svg-writing-mode><span class=secno>3.1.1. </span> SVG1.1 &lsquo;<a
1164+
href="#writing-mode1"><code class=property>writing-mode</code></a>&rsquo;
1165+
Values</h4>
1166+
1167+
<p>SVG1.1 <a href="#SVG11" rel=biblioentry>[SVG11]<!--{{!SVG11}}--></a>
1168+
defines some additional values: &lsquo;<code class=css>lr</code>&rsquo;,
1169+
&lsquo;<code class=css>lr-tb</code>&rsquo;, &lsquo;<code
1170+
class=css>rl</code>&rsquo;, &lsquo;<code class=css>rl-tb</code>&rsquo;,
1171+
&lsquo;<code class=css>tb</code>&rsquo;, and &lsquo;<code
1172+
class=css>tb-rl</code>&rsquo;. These values are <em>deprecated</em> in any
1173+
context except SVG1 documents. Implementations that wish to support them
1174+
in the context of CSS must treat these values as follows:
1175+
1176+
<table class=data>
1177+
<thead>
1178+
<tr>
1179+
<th>SVG1
1180+
1181+
<th>CSS
1182+
1183+
<tbody>
1184+
<tr>
1185+
<td>lr
1186+
1187+
<td rowspan=3>horizontal-tb
1188+
1189+
<tr>
1190+
<td>lr-tb
1191+
1192+
<tr>
1193+
<td>rl
1194+
1195+
<tr>
1196+
<td>tb
1197+
1198+
<td rowspan=2>vertical-rl
1199+
1200+
<tr>
1201+
<td>tb-rl
1202+
</table>
1203+
1204+
<p>In SVG1.1, these values set the <dfn
1205+
id=inline-progression-direction>inline progression direction</dfn>, in
1206+
other words, the direction the current text position advances each time a
1207+
glyph is added. This is a geometric process that happens <a
1208+
href="#after"><em>after</em></a> bidi reordering, and thus has no effect
1209+
on the interpretation of the &lsquo;<a href="#direction0"><code
1210+
class=property>direction</code></a>&rsquo; property (which is independent
1211+
of &lsquo;<a href="#writing-mode1"><code
1212+
class=property>writing-mode</code></a>&rsquo;). (See <a
1213+
href="http://www.w3.org/TR/SVG/text.html#RelationshipWithBiDirectionality">Relationship
1214+
with bidirectionality</a>. <a href="#SVG11"
1215+
rel=biblioentry>[SVG11]<!--{{!SVG11}}--></a>)
1216+
1217+
<p class=note>There are varying interpretations on whether this process
1218+
causes "writing-mode: rl" to merely shift the text string or reverse the
1219+
order of all glyphs in the text.
1220+
12091221
<h2 id=inline-alignment><span class=secno>4. </span> Inline-level Alignment</h2>
12101222

12111223
<p>When different kinds of inline-level content are placed together on a
@@ -1263,7 +1275,8 @@ <h3 id=intro-baselines><span class=secno>4.1. </span> Introduction to
12631275
various baselines apply to all glyphs in the font.
12641276

12651277
<p>Different baseline tables can be provided for alignment in horizontal
1266-
and vertical text.
1278+
and vertical text. UAs should use the vertical tables in vertical
1279+
typesetting modes and the horizontal tables otherwise.
12671280

12681281
<h3 id=text-baselines><span class=secno>4.2. </span> Text Baselines</h3>
12691282

@@ -1396,7 +1409,7 @@ <h3 id=baseline-alignment><span class=secno>4.4. </span> Baseline Alignment</h3>
13961409
</ul>
13971410

13981411
<h2 id=intro-text-layout><span class=secno>5. </span> Introduction to
1399-
Intrinsic Text Layout</h2>
1412+
Vertical Text Layout</h2>
14001413

14011414
<p>Each writing system has one or more native orientations. Modern scripts
14021415
can therefore be classified into three orientational categories:
@@ -3499,8 +3512,9 @@ <h3 class=no-num id=normative-references> Normative references</h3>
34993512
<dt id=UAX24>[UAX24]
35003513

35013514
<dd>Mark Davis; Ken Whistler. <a
3502-
href="http://www.unicode.org/reports/tr24/"><cite>.</cite></a> 27
3503-
September 2010. Unicode Standard Annex #24. URL: <a
3515+
href="http://www.unicode.org/reports/tr24/"><cite>Unicode Script
3516+
Property.</cite></a> 27 September 2010. Unicode Standard Annex #24. URL:
3517+
<a
35043518
href="http://www.unicode.org/reports/tr24/">http://www.unicode.org/reports/tr24/</a>
35053519
</dd>
35063520
<!---->

css3-writing-modes/Overview.src.html

Lines changed: 40 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ <h2 id="text-flow">
133133
<p class="note">These terms should not be confused with
134134
<dfn>vertical block flow</dfn> (which is a downward or
135135
upward block flow) and <dfn>horizontal block flow</dfn> (which is
136-
leftward or rightward block flow). To avoid confusion, the CSS
136+
leftward or rightward block flow). To avoid confusion, CSS
137137
specifications avoid this latter set of terms.</p>
138138

139139
<p>Writing systems typically have one or two native writing modes. Some
@@ -607,6 +607,8 @@ <h3 id="bidi-box-model">
607607
<h2 id="vertical-intro">
608608
Introduction to Vertical Text</h2>
609609

610+
<p><em>This subsection is non-normative.</em></p>
611+
610612
<p>In addition to extensions to CSS2.1&rsquo;s support for bidirectional text,
611613
this module introduces the rules and properties needed to support vertical
612614
text layout in CSS.
@@ -733,35 +735,6 @@ <h3 id="writing-mode">
733735
<dd>Left-to-right block flow. The writing mode is vertical.</dd>
734736
</dl>
735737

736-
<p>SVG1.1 [[!SVG11]] defines some additional values: ''lr'',
737-
''lr-tb'', ''rl'', ''rl-tb'', ''tb'', and ''tb-rl''. These values
738-
are <em>deprecated</em> in any context except SVG1 documents.
739-
Implementations that wish to support them in the context of CSS
740-
must treat these values as follows:
741-
742-
<table class="data">
743-
<thead>
744-
<tr><th>SVG1</th> <th>CSS</th></tr>
745-
</thead>
746-
<tbody>
747-
<tr><td>lr</td> <td rowspan=3>horizontal-tb</td></tr>
748-
<tr><td>lr-tb</td></tr>
749-
<tr><td>rl</td></tr>
750-
<tr><td>tb</td> <td rowspan=2>vertical-rl</td></tr>
751-
<tr><td>tb-rl</td></tr>
752-
</tbody>
753-
</table>
754-
755-
<p class="note">In SVG1.1, these values set the <dfn>inline progression
756-
direction</dfn>, in other words, the direction the current text position
757-
advances each time a glyph is added. This is a geometric process that
758-
happens <em>after</em> bidi reordering, and thus has no effect on the
759-
interpretation of the 'direction' property (which is independent of
760-
'writing-mode'). (See <a href="http://www.w3.org/TR/SVG/text.html#RelationshipWithBiDirectionality">Relationship
761-
with bidirectionality</a>. [[!SVG11]]) There are varying interpretations
762-
on whether this process causes "writing-mode: rl" to merely shift the
763-
text string or reverse the order of all glyphs in the text.</p>
764-
765738
<p>The 'writing-mode' property determines the direction of block flow.
766739
This determines the progression of block-level boxes in a block formatting
767740
context; the progression of line boxes in a block container that contains
@@ -824,6 +797,39 @@ <h3 id="writing-mode">
824797
src="vertical-lr.png" height="191" width="300" ></p>
825798
</div>
826799

800+
<h4 id="svg-writing-mode">
801+
SVG1.1 'writing-mode' Values</h4>
802+
803+
<p>SVG1.1 [[!SVG11]] defines some additional values: ''lr'',
804+
''lr-tb'', ''rl'', ''rl-tb'', ''tb'', and ''tb-rl''. These values
805+
are <em>deprecated</em> in any context except SVG1 documents.
806+
Implementations that wish to support them in the context of CSS
807+
must treat these values as follows:
808+
809+
<table class="data">
810+
<thead>
811+
<tr><th>SVG1</th> <th>CSS</th></tr>
812+
</thead>
813+
<tbody>
814+
<tr><td>lr</td> <td rowspan=3>horizontal-tb</td></tr>
815+
<tr><td>lr-tb</td></tr>
816+
<tr><td>rl</td></tr>
817+
<tr><td>tb</td> <td rowspan=2>vertical-rl</td></tr>
818+
<tr><td>tb-rl</td></tr>
819+
</tbody>
820+
</table>
821+
822+
<p>In SVG1.1, these values set the <dfn>inline progression
823+
direction</dfn>, in other words, the direction the current text position
824+
advances each time a glyph is added. This is a geometric process that
825+
happens <em>after</em> bidi reordering, and thus has no effect on the
826+
interpretation of the 'direction' property (which is independent of
827+
'writing-mode'). (See <a href="http://www.w3.org/TR/SVG/text.html#RelationshipWithBiDirectionality">Relationship
828+
with bidirectionality</a>. [[!SVG11]])
829+
<p class="note">There are varying interpretations
830+
on whether this process causes "writing-mode: rl" to merely shift the
831+
text string or reverse the order of all glyphs in the text.</p>
832+
827833
<h2 id="inline-alignment">
828834
Inline-level Alignment</h2>
829835

@@ -883,7 +889,9 @@ <h3 id="intro-baselines">
883889
of the various baselines apply to all glyphs in the font.
884890

885891
<p>Different baseline tables can be provided for alignment in
886-
horizontal and vertical text.
892+
horizontal and vertical text. UAs should use the vertical
893+
tables in vertical typesetting modes and the horizontal tables
894+
otherwise.
887895

888896
<h3 id="text-baselines">
889897
Text Baselines</h3>
@@ -999,7 +1007,7 @@ <h3 id="baseline-alignment">
9991007
</ul>
10001008

10011009
<h2 id="intro-text-layout">
1002-
Introduction to Intrinsic Text Layout</h2>
1010+
Introduction to Vertical Text Layout</h2>
10031011

10041012
<p>Each writing system has one or more native orientations. Modern scripts
10051013
can therefore be classified into three orientational categories:</p>

0 commit comments

Comments
 (0)