Skip to content

Commit 34b3bd7

Browse files
committed
[css-ruby] inter-character annotations only happen in horizontal text
1 parent 897131d commit 34b3bd7

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

css-ruby-1/Overview.bs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,9 @@ Ruby Layout</h2>
740740
<h3 id="inter-character-layout">
741741
Inter-character Ruby Layout</h3>
742742

743-
Inter-character annotations have special layout.
744-
When 'ruby-position' indicates ''inter-character'' annotations,
743+
[=Inter-character annotations=] have special layout.
744+
In [=horizontal writing mode=],
745+
when the value 'ruby-position' is ''inter-character'',
745746
the affected [=ruby annotation boxes=]
746747
are spliced into and measured as part of the layout of the [=base level=].
747748
The [=ruby base container=] must be sized to include both the [=ruby base boxes=]
@@ -750,9 +751,9 @@ Inter-character Ruby Layout</h3>
750751
so that its content box coincides with that of the [=ruby base container=].
751752

752753
For the purpose of laying out other levels of annotations,
753-
an ''inter-character'' annotation effectively becomes part of its base.
754+
an [=inter-character annotation=] effectively becomes part of its base.
754755
<span class="issue">Or should it become a quasi-base between two bases?</span>
755-
A spanning ''inter-character'' annotation is placed after
756+
A spanning [=inter-character annotation=] is placed after
756757
all the bases that it spans.
757758

758759
<h3 id="box-style">
@@ -799,7 +800,7 @@ Breaking Across Lines</h3>
799800
Whenever ruby breaks across lines, [=ruby annotations=] must stay
800801
with their respective [=ruby bases=].
801802
The line <em>must not</em> break between a [=ruby base=] and its [=annotations=],
802-
even in the case of ''inter-character'' [=annotations=].
803+
even in the case of [=inter-character annotations=].
803804

804805
<div class="figure">
805806
<img src="images/r-break-b.gif"
@@ -867,7 +868,7 @@ Breaking Within Bases</h4>
867868
but it is recommended that the UA attempt to proportionally balance
868869
the amount of content inside each fragment.
869870

870-
There are no line breaking opportunities within ''inter-character'' [=annotations=].
871+
There are no line breaking opportunities within [=inter-character annotations=].
871872

872873
Ruby alignment takes place within each fragment, after line-breaking.
873874

@@ -1037,8 +1038,12 @@ Ruby Positioning: the 'ruby-position' property</h3>
10371038

10381039
<dt><dfn>inter-character</dfn></dt>
10391040
<dd>
1041+
If the [=writing mode=] of the enclosing [=ruby container=] is [=vertical writing mode|vertical=],
1042+
this value has the same effect as ''over''.
1043+
1044+
Otherwise, the ruby text becomes a <dfn dfn>inter-character annotation</dfn>.
10401045
The ruby text appears on the right of the base in horizontal text.
1041-
This value forces the computed value of 'writing-mode' of the [=ruby annotation container=] to be ''vertical-rl''.
1046+
This forces the computed value of 'writing-mode' of the [=ruby annotation container=] to be ''vertical-rl''.
10421047

10431048
This value is provided for the special case of traditional Chinese
10441049
as used especially in Taiwan:

0 commit comments

Comments
 (0)