Skip to content

Commit f2b400e

Browse files
committed
[css-text] Add example of Korean line-breaking.
1 parent 468e04f commit f2b400e

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

css-text/Overview.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,6 +1442,12 @@ <h3 id=word-break><span class=secno>5.3. </span> Breaking Rules for
14421442
two Korean syllables (‘<code class=css>word-break: normal</code>’)
14431443
or, like English, mainly at spaces (‘<code class=css>word-break:
14441444
keep-all</code>’).
1445+
1446+
<pre>각 줄의 마지막에 한글이 올 때 줄 나눔 기 /* break between syllables */
1447+
<!-- -->준을 “글자” 또는 “어절” 단위로 한다.</pre>
1448+
1449+
<pre>각 줄의 마지막에 한글이 올 때 줄 나눔 /* break only at spaces */
1450+
<!-- -->기준을 “글자” 또는 “어절” 단위로 한다.</pre>
14451451
</div>
14461452

14471453
<p class=note> To enable additional break opportunities only in the case of
@@ -3704,7 +3710,7 @@ <h2 class=no-num id=appendix-f-text-processing-order-of-oper>Appendix F:
37043710
layout is the same.)
37053711

37063712
<ol>
3707-
<li><a href="#white-space-rules">white space processing</a> part I
3713+
<li><a href="#white-space-phase-1">white space processing</a> part I
37083714
(pre-wrapping)
37093715

37103716
<li><a
@@ -3725,7 +3731,7 @@ <h2 class=no-num id=appendix-f-text-processing-order-of-oper>Appendix F:
37253731
href="#CSS3-WRITING-MODES"
37263732
rel=biblioentry>[CSS3-WRITING-MODES]<!--{{!CSS3-WRITING-MODES}}--></a>
37273733

3728-
<li><a href="#white-space-rules">white space processing</a> part II
3734+
<li><a href="#white-space-phase-2">white space processing</a> part II
37293735

37303736
<li><a
37313737
href="http://www.w3.org/TR/css3-writing-modes/#text-orientation">text

css-text/Overview.src.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,10 @@ <h3 id="word-break">
10331033
<p>As another example, Korean has two styles of line-breaking:
10341034
between any two Korean syllables (''word-break: normal'')
10351035
or, like English, mainly at spaces (''word-break: keep-all'').
1036+
<pre>각 줄의 마지막에 한글이 올 때 줄 나눔 기 /* break between syllables */
1037+
<!-- -->준을 “글자” 또는 “어절” 단위로 한다.</pre>
1038+
<pre>각 줄의 마지막에 한글이 올 때 줄 나눔 /* break only at spaces */
1039+
<!-- -->기준을 “글자” 또는 “어절” 단위로 한다.</pre>
10361040
</div>
10371041

10381042
<p class="note">
@@ -2736,14 +2740,14 @@ <h2 class="no-num">Appendix F:
27362740
are not bound to this order as long as the resulting layout is the same.)
27372741

27382742
<ol>
2739-
<li><a href="#white-space-rules">white space processing</a> part I (pre-wrapping)
2743+
<li><a href="#white-space-phase-1">white space processing</a> part I (pre-wrapping)
27402744
<li><a href="http://www.w3.org/TR/css3-writing-modes/#text-combine-horizontal">text combination</a> [[!CSS3-WRITING-MODES]]
27412745
<li><a href="#text-transform">text transformation</a>
27422746
<li><a href="#wrapping">text wrapping</a> while applying per line:
27432747
<ol>
27442748
<li><a href="#text-indent">indentation</a>
27452749
<li><a href="http://www.w3.org/TR/css3-writing-modes/#text-direction">bidirectional reordering</a> [[!CSS21]] / [[!CSS3-WRITING-MODES]]
2746-
<li><a href="#white-space-rules">white space processing</a> part II
2750+
<li><a href="#white-space-phase-2">white space processing</a> part II
27472751
<li><a href="http://www.w3.org/TR/css3-writing-modes/#text-orientation">text orientation</a> [[!CSS3-WRITING-MODES]]
27482752
<li>'letter-spacing' and 'word-spacing'
27492753
<li><a href="http://www.w3.org/TR/css3-fonts/">font/glyph selection and positioning</a> [[!CSS21]] / [[!CSS3-FONTS]]

0 commit comments

Comments
 (0)