Skip to content

Commit c602256

Browse files
committed
Rearrange contents of line-break section to match up with propdef, description convention
1 parent ce32012 commit c602256

1 file changed

Lines changed: 35 additions & 38 deletions

File tree

css3-text/Overview.src.html

Lines changed: 35 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -763,41 +763,7 @@ <h2 id="line-breaking">
763763
break or not break Southeast Asian in the absence of a dictionary.</p>
764764

765765
<h3 id="line-break">
766-
Line Breaking Restrictions Strictness: the 'line-break' property</h3>
767-
768-
<p>This property specifies the strictness of line-breaking rules:
769-
particularly how line-breaking interacts with punctuation.</p>
770-
771-
<p>CSS distinguishes between three levels of strictness in the rules for
772-
implicit line breaking. The precise set of rules in effect
773-
for the ''strict'' and ''loose'' levels is up to the UA and should follow
774-
language conventions. However, this specification does recommend that:</p>
775-
776-
<ul>
777-
<li>Following breaks be forbidden in ''strict'' line breaking and
778-
allowed in ''normal'':
779-
<ul>
780-
<li>breaks before Japanese small kana
781-
<li>breaks before the KATAKANA-HIRAGANA PROLONGED SOUND MARK (U+30FC)
782-
</ul>
783-
Additionally, if the language is known to be Chinese or Japanese,
784-
breaks before hyphens (U+2010, U+2013, U+301C, U+30A0) may be allowed
785-
in ''normal''.
786-
<li>Following breaks be forbidden in ''normal'' and ''strict'' line
787-
breaking and allowed in ''loose'':
788-
<ul>
789-
<li>breaks before iteration marks (U+3005, U+303B, U+309D, U+309E, U+30FD, U+30FE)</li>
790-
<li>breaks between inseparatable characters (U+2014, U+2025, U+2026, U+3033, U+3034, U+3035)</li>
791-
</ul>
792-
If the language is known to be Chinese or Japanese, then additionally
793-
the following breaks may be allowed in ''loose'':
794-
<ul>
795-
<li>breaks before middle dots (U+003A, U+003B, U+30FB, U+FF1A, U+FF1B, U+FF65)</li>
796-
<li>breaks before dividing punctuation marks (U+0021, U+003F, U+203C, U+2047, U+2048, U+2049, U+FF01, U+FF1F)</li>
797-
<li>breaks before postfixes (U+0025, U+00A2, U+00B0, U+2030, U+2032, U+2033, U+2103, U+FF05, U+FFE0)</li>
798-
<li>breaks after prefixes (U+0024, U+00A3, U+00A5, U+20AC, U+2116, U+FF04, U+FFE1, U+FFE5)</li>
799-
</ul>
800-
</ul>
766+
Line Breaking Strictness: the 'line-break' property</h3>
801767

802768
<table class="propdef">
803769
<tbody>
@@ -836,9 +802,9 @@ <h3 id="line-break">
836802
</tbody>
837803
</table>
838804

839-
<p>This property specifies what set of line breaking restrictions are in
840-
effect within the element.
841-
Values have the following meanings:</p>
805+
<p>This property specifies the strictness of line-breaking rules applied
806+
within an element: particularly how line-breaking interacts with
807+
punctuation. Values have the following meanings:</p>
842808

843809
<dl>
844810
<dt><dfn title="line-break:auto"><code>auto</code></dfn></dt>
@@ -855,6 +821,37 @@ <h3 id="line-break">
855821
rules.</dd>
856822
</dl>
857823

824+
<p>CSS distinguishes between three levels of strictness in the rules for
825+
implicit line breaking. The precise set of rules in effect for each
826+
level is up to the UA and should follow language conventions. However,
827+
this specification does recommend that:</p>
828+
829+
<ul>
830+
<li>Following breaks be forbidden in ''strict'' line breaking and
831+
allowed in ''normal'':
832+
<ul>
833+
<li>breaks before Japanese small kana
834+
<li>breaks before the KATAKANA-HIRAGANA PROLONGED SOUND MARK (U+30FC)
835+
</ul>
836+
Additionally, if the language is known to be Chinese or Japanese,
837+
breaks before hyphens (U+2010, U+2013, U+301C, U+30A0) may be allowed
838+
in ''normal''.
839+
<li>Following breaks be forbidden in ''normal'' and ''strict'' line
840+
breaking and allowed in ''loose'':
841+
<ul>
842+
<li>breaks before iteration marks (U+3005, U+303B, U+309D, U+309E, U+30FD, U+30FE)</li>
843+
<li>breaks between inseparatable characters (U+2014, U+2025, U+2026, U+3033, U+3034, U+3035)</li>
844+
</ul>
845+
If the language is known to be Chinese or Japanese, then additionally
846+
the following breaks may be allowed in ''loose'':
847+
<ul>
848+
<li>breaks before middle dots (U+003A, U+003B, U+30FB, U+FF1A, U+FF1B, U+FF65)</li>
849+
<li>breaks before dividing punctuation marks (U+0021, U+003F, U+203C, U+2047, U+2048, U+2049, U+FF01, U+FF1F)</li>
850+
<li>breaks before postfixes (U+0025, U+00A2, U+00B0, U+2030, U+2032, U+2033, U+2103, U+FF05, U+FFE0)</li>
851+
<li>breaks after prefixes (U+0024, U+00A3, U+00A5, U+20AC, U+2116, U+FF04, U+FFE1, U+FFE5)</li>
852+
</ul>
853+
</ul>
854+
858855
<h3 id="word-break">
859856
Word Breaking Rules: the 'word-break' property</h3>
860857

0 commit comments

Comments
 (0)