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
Copy file name to clipboardExpand all lines: css-ruby-1/Overview.bs
+21-4Lines changed: 21 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1285,8 +1285,8 @@ Ruby Positioning: the 'ruby-position' property</h3>
1285
1285
1286
1286
<pre class="propdef">
1287
1287
Name: ruby-position
1288
-
Value: over | under | inter-character
1289
-
Initial: over
1288
+
Value: [ alternate || [ over | under ] ] | inter-character
1289
+
Initial: alternate
1290
1290
Applies to: ruby annotation containers
1291
1291
Inherited: yes
1292
1292
Computed value: specified keyword
@@ -1296,9 +1296,26 @@ Ruby Positioning: the 'ruby-position' property</h3>
1296
1296
This property controls position of the [=ruby annotation=] with respect to its base.
1297
1297
Values have the following meanings:
1298
1298
1299
-
Issue(5971): Roland Steiner has requested the addition of an auto value as default. See <a href="http://www.w3.org/Search/Mail/Public/advanced_search?keywords=&hdr-1-name=subject&hdr-1-query=ruby-position%3A+undesirable+default+value+%27before%27+for+complex+ruby&hdr-2-name=from&hdr-2-query=&hdr-3-name=message-id&hdr-3-query=&period_month=&period_year=&index-grp=Public__FULL&index-type=t&type-index=www-style&resultsperpage=20&sortby=date">this thread</a> and <a href="http://www.w3.org/Search/Mail/Public/advanced_search?keywords=&hdr-1-name=subject&hdr-1-query=Styling+of+complex+Ruby&hdr-2-name=from&hdr-2-query=&hdr-3-name=message-id&hdr-3-query=&period_month=&period_year=&index-grp=Public__FULL&index-type=t&type-index=public-i18n-core&resultsperpage=20&sortby=date">this one</a>. Current proposal is to add an optional ''alternate?'' keyword.
1300
-
1301
1299
<dl dfn-for=ruby-position dfn-type=value>
1300
+
<dt><dfn>alternate</dfn>
1301
+
<dd>
1302
+
Different [=levels=] of annotations alternate between ''over'' and ''under''.
1303
+
1304
+
If the [=annotation container=] is the first [=level=] of annotation in its [=ruby segment=],
1305
+
or if all prior [=levels=] are [=inter-character=],
1306
+
then ''alternate'', either on its own or in combination with ''over'',
1307
+
behaves the same as ''over'',
1308
+
while ''alternate'' in combination with ''under''
1309
+
behaves the same as ''under''.
1310
+
1311
+
Otherwise,
1312
+
if the previous level of [=interlinear=] annotation is ''over'',
1313
+
''alternate'' behaves like ''under'',
1314
+
and vice versa.
1315
+
(In this case, whether ''alternate'' is specified alone
1316
+
or in combination with ''over'' or ''under''
1317
+
makes no difference.)
1318
+
1302
1319
<dt><dfn>over</dfn>
1303
1320
<dd>
1304
1321
The ruby annotation appears [=line-over=] the base.
0 commit comments