@@ -65,23 +65,31 @@ Introduction to Writing Modes</h2>
6565 <div class="figure right">
6666 <a href="diagrams/text-flow-vectors-tb.svg">
6767 <img src="diagrams/text-flow-vectors-tb.png" class="landscape"
68- alt="Latin-based writing mode"></a>
68+ alt="Text flowing left to right,
69+ Latin glyphs set upright,
70+ and lines stacked top to bottom"></a>
6971 <p class="caption"> Latin-based writing mode
7072 </div>
7173 <div class="figure left">
7274 <a href="diagrams/text-flow-vectors-lr-reverse.svg">
7375 <img src="diagrams/text-flow-vectors-lr-reverse.png" class="landscape"
74- alt="Mongolian-based writing mode"></a>
76+ alt="Text flowing top to bottom,
77+ Latin glyphs tipped sideways to the right (rotated 90° clockwise),
78+ and lines stacked left to right"></a>
7579 <p class="caption"> Mongolian-based writing mode
7680 </div>
7781 <div class="figure right">
7882 <a href="diagrams/text-flow-vectors-tb.svg">
7983 <img src="diagrams/text-flow-vectors-tb.png" class="landscape"
80- alt="Han-based writing mode"></a>
84+ alt="Text flowing left to right,
85+ Latin glyphs set upright,
86+ and lines stacked top to bottom"></a>
8187 <a href="diagrams/text-flow-vectors-rl.svg">
8288 <img src="diagrams/text-flow-vectors-rl.png" class="landscape"
83- alt="Han-based writing mode"></a>
84- <p class="caption"> Han-based writing mode
89+ alt="Text flowing top to bottom,
90+ Latin glyphs tipped sideways to the right (rotated 90° clockwise),
91+ and lines stacked right to left"></a>
92+ <p class="caption"> Han-based writing modes
8593 </div>
8694 </div>
8795
@@ -97,23 +105,6 @@ Introduction to Writing Modes</h2>
97105 within a block container. The 'writing-mode' property determines the
98106 block flow direction.</p>
99107
100- <p> The <dfn export>typographic mode</dfn> determines if text should apply
101- typographic conventions specific to vertical flow for <a>vertical
102- scripts</a> .
103- This concept distinguishes vertical flow for <a>vertical scripts</a> from
104- rotated horizontal flow.
105-
106- <p> A <dfn export>horizontal writing mode</dfn> is one with horizontal lines of
107- text, i.e. a downward or upward block flow.
108- A <dfn export>vertical writing mode</dfn> is one with vertical lines of text,
109- i.e. a leftward or rightward block flow.
110-
111- <p class="note"> These terms should not be confused with
112- <dfn noexport>vertical block flow</dfn> (which is a downward or
113- upward block flow) and <dfn noexport>horizontal block flow</dfn> (which is
114- leftward or rightward block flow). To avoid confusion, CSS
115- specifications avoid this latter set of terms.</p>
116-
117108 <p> Writing systems typically have one or two native writing modes. Some
118109 examples are:
119110 <ul>
@@ -130,8 +121,33 @@ Introduction to Writing Modes</h2>
130121 modes on the same page.
131122 </ul>
132123
124+ <p> A <dfn export>horizontal writing mode</dfn>
125+ is one with horizontal lines of text,
126+ i.e. a downward or upward block flow.
127+ A <dfn export>vertical writing mode</dfn>
128+ is one with vertical lines of text,
129+ i.e. a leftward or rightward block flow.
130+
131+ <p class="note"> These terms should not be confused with
132+ <dfn noexport>vertical block flow</dfn>
133+ (which is a downward or upward block flow)
134+ and <dfn noexport>horizontal block flow</dfn>
135+ (which is leftward or rightward block flow).
136+ To avoid confusion, CSS specifications avoid this latter set of terms.
137+
138+ <p> The <dfn export>typographic mode</dfn> determines whether to use
139+ typographic conventions specific to vertical flow for <a>vertical scripts</a>
140+ (<dfn export>vertical typographic mode</dfn> )
141+ or to use the typographic conventions of [=horizontal writing modes=]
142+ (<dfn export>horizontal typographic mode</dfn> ).
143+ This concept distinguishes vertical typesetting
144+ from rotated horizontal typesetting.
145+
133146 <p> The 'text-orientation' component of the writing mode
134- controls the <a>glyph orientation</a> .
147+ controls the <a>glyph orientation</a>
148+ in [=vertical typographic modes=] ,
149+ dictating whether a particular [=typographic character unit=]
150+ is [=typeset upright=] or [=typeset sideways=] .
135151
136152 <p class="note"> See Unicode Technical Note #22 [[UTN22]]
137153 (<a href="http://fantasai.inkedblade.net/style/discuss/vertical-text/paper">HTML version</a> )
@@ -1214,14 +1230,13 @@ Orienting Text: the 'text-orientation' property</h3>
12141230
12151231 <p> This property specifies the orientation of text within a line.
12161232 Current values only have an effect in vertical <a>typographic modes</a> :
1217- the property has no effect on boxes in horizontal <a>typographic modes</a> .
1233+ the property has no effect in horizontal <a>typographic modes</a> .
12181234
12191235 <p> Values have the following meanings:</p>
12201236
12211237 <dl dfn-for=text-orientation dfn-type=value>
12221238 <dt> <dfn>mixed</dfn> </dt>
1223- <dd><p> In vertical writing modes,
1224- <a>typographic character units</a> from horizontal-only scripts
1239+ <dd><p> <a>Typographic character units</a> from horizontal-only scripts
12251240 are <a href="#typeset-sideways">typeset sideways</a> ,
12261241 i.e. 90° clockwise from their standard orientation in horizontal text.
12271242 <a>Typographic character units</a> from vertical scripts
@@ -1230,8 +1245,7 @@ Orienting Text: the 'text-orientation' property</h3>
12301245 <p> This value is typical for layout of dominantly vertical-script text.
12311246
12321247 <dt> <dfn>upright</dfn> </dt>
1233- <dd><p> In vertical writing modes,
1234- <a>typographic character units</a> from horizontal-only scripts
1248+ <dd><p> <a>Typographic character units</a> from horizontal-only scripts
12351249 are <a href="#typeset-upright">typeset upright</a> ,
12361250 i.e. in their standard horizontal orientation.
12371251 <a>Typographic character units</a> from vertical scripts
@@ -1249,8 +1263,7 @@ Orienting Text: the 'text-orientation' property</h3>
12491263 where this directional override does not apply.
12501264
12511265 <dt> <dfn>sideways</dfn> </dt>
1252- <dd><p> In vertical writing modes,
1253- this causes all text to be <a href="#typeset-sideways">typeset sideways</a> ,
1266+ <dd><p> Causes all text to be <a href="#typeset-sideways">typeset sideways</a> ,
12541267 as if in a horizontal layout, but rotated 90° clockwise.
12551268 </dl>
12561269
@@ -1311,7 +1324,7 @@ Vertical Typesetting and Font Features</h4>
13111324 text is typeset either “upright” or “sideways” as defined below:
13121325
13131326 <dl>
1314- <dt> <dfn id='typeset-upright' local-lt='upright' export>upright typesetting</dfn>
1327+ <dt> <dfn id='typeset-upright' lt="typeset upright | upright typesetting | typesetting upright" local-lt='upright' export>upright typesetting</dfn>
13151328 <dd>
13161329 <a>Typographic character units</a> are individually typeset upright
13171330 in vertical lines with vertical font metrics.
@@ -1344,7 +1357,7 @@ Vertical Typesetting and Font Features</h4>
13441357 the UA <em> may wish to</em> [[!RFC6919]] (but is not expected to)
13451358 synthesize the missing glyphs by <a href="#typeset-sideways">typesetting them sideways</a> etc.
13461359
1347- <dt> <dfn id='typeset-sideways' local-lt='sideways' export>sideways typesetting
1360+ <dt> <dfn id='typeset-sideways' lt="typeset sideways | sideways typesetting | typesetting sideways" local-lt='sideways' export>sideways typesetting
13481361 <dd>
13491362 <a>Typographic character units</a> typeset as a run
13501363 rotated 90° clockwise from their upright orientation,
@@ -2342,7 +2355,7 @@ Horizontal-in-Vertical Composition: the 'text-combine-upright' property</h3>
23422355 Name : text-combine-upright
23432356 Value : none | all
23442357 Initial : none
2345- Applies to : [=inline elements =] and text
2358+ Applies to : [=inline boxes =] and text
23462359 Inherited : yes
23472360 Percentages : n/a
23482361 Computed value : specified keyword
@@ -2527,6 +2540,7 @@ Privacy and Security Considerations {#priv-sec}
25272540 (<a href="https://github.com/w3c/csswg-drafts/issues/3779">Issue 3779</a> )
25282541 <li> Updated “Applies to” line for 'text-combine-upright' to mention text
25292542 (since certain effects like ''display: contents'' can strip the box itself).
2543+ <li> Reshuffled text in the [[#intro]] and improved cross-linking.
25302544 </ul>
25312545
25322546<h2 class="no-num" id="acknowledgements">
0 commit comments