Skip to content

Commit 2c10daa

Browse files
committed
[css-text-4] Add bidi example for text-autospace #10803
1 parent 45b1ed0 commit 2c10daa

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

css-text-4/Overview.bs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10626,6 +10626,33 @@ Inter-script Spacing</h4>
1062610626
A future level of this module may introduce control
1062710627
over the amount of spacing.
1062810628

10629+
<h4 id="autospace-bidi">
10630+
Interaction with Bidirectional Text</h4>
10631+
10632+
Spacing introduced by 'text-autospace' is inserted after [[css-writing-modes-4#text-direction|bidi reordering]].
10633+
10634+
<div class="example">
10635+
Given the following paragraphs, with capita:
10636+
10637+
<xmp>
10638+
<p>一些中国字SOME RTL TEXT中国字
10639+
<p>一些中国字SOME
10640+
RTL TEXT中国字
10641+
<p>一些中国字SOME RTL♥中国字.
10642+
<p>一些中国字<bdi dir=rtl>SOME RTL♥</bdi>中国字
10643+
</pre>
10644+
10645+
The expected rendering ''ideographic-alpha'' would be something like
10646+
10647+
<pre class="output">
10648+
一些中国字 TXET LTR EMOS 中国字
10649+
一些中国字 EMOS
10650+
TXET LTR 中国字
10651+
一些中国字 LTR EMOS♥中国字.
10652+
一些中国字♥LTR EMOS 中国字
10653+
</pre>
10654+
</div>
10655+
1062910656
<h3 id="text-spacing-trim-property">
1063010657
CJK Punctuation Spacing: the 'text-spacing-trim' property</h3>
1063110658

0 commit comments

Comments
 (0)