Skip to content

Commit b95f8c4

Browse files
committed
I18N-ISSUE-311: Clarity of Arabic hyphenation example <http://dev.w3.org/csswg/css-text/issues-lc-2013#issue-46>
--HG-- extra : rebase_source : a9648a23af81cdf689e897b4ec48ba16262d5567
1 parent 7b8f508 commit b95f8c4

2 files changed

Lines changed: 20 additions & 4 deletions

File tree

css-text/Overview.bs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ At Risk: the 'hanging-punctuation' property
3131
.egbidiwsaB { background:yellow;border:2px dotted white }
3232
.egbidiwsbC { border:2px dotted red }
3333

34+
.hyphens-ex {
35+
border: thin solid black;
36+
display: inline-block;
37+
padding: 4pt;
38+
}
39+
3440
/* Start Letter-spacing Tutorial */
3541
.ls-ex {
3642
font-size: 200%;
@@ -1144,8 +1150,10 @@ Line Breaking Details</h3>
11441150

11451151
<div class="example">
11461152
<p>For example, if the word &ldquo;&#x0646;&#x0648;&#x0634;&#x062A;&#x0646;&rdquo;
1147-
were hyphenated, it would appear as &ldquo;&#xFEE7;&#xFEEE;&#xFEB7;-&#xFE98;&#xFEE6;&rdquo;
1148-
not as &ldquo;&#xFEE7;&#xFEEE;&#xFEB5;-&#xFE97;&#xFEE6;&rdquo;.
1153+
were hyphenated, it would appear as
1154+
<span dir="rtl" class="hyphens-ex">&#xFEE7;&#xFEEE;&#xFEB7;-<br>&#xFE98;&#xFEE6;</span>
1155+
not as
1156+
<span dir="rtl" class="hyphens-ex">&#xFEE7;&#xFEEE;&#xFEB5;-<br>&#xFE97;&#xFEE6;</span>.
11491157
</div>
11501158

11511159

css-text/Overview.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
.egbidiwsaB { background:yellow;border:2px dotted white }
5656
.egbidiwsbC { border:2px dotted red }
5757

58+
.hyphens-ex {
59+
border: thin solid black;
60+
display: inline-block;
61+
padding: 4pt;
62+
}
63+
5864
/* Start Letter-spacing Tutorial */
5965
.ls-ex {
6066
font-size: 200%;
@@ -1298,8 +1304,10 @@ <h3 class="heading settled heading" data-level=6.1 id=hyphens-property><span cla
12981304

12991305
<div class=example>
13001306
<p>For example, if the word “نوشتن”
1301-
were hyphenated, it would appear as “ﻧﻮﺷ-ﺘﻦ”
1302-
not as “ﻧﻮﺵ-ﺗﻦ”.
1307+
were hyphenated, it would appear as
1308+
<span class=hyphens-ex dir=rtl>ﻧﻮﺷ-<br>ﺘﻦ</span>
1309+
not as
1310+
<span class=hyphens-ex dir=rtl>ﻧﻮﺵ-<br>ﺗﻦ</span>.
13031311
</div>
13041312

13051313

0 commit comments

Comments
 (0)